Merge pull request #93 from creative-commoners/pulls/5/protect-hooks

API Set extension hook implementation visibility to protected
This commit is contained in:
Guy Sartorelli 2024-05-21 16:06:49 +12:00 committed by GitHub
commit dcdb17f631
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,7 +116,7 @@ class FileTextExtractable extends DataExtension
/**
* @return void
*/
public function onBeforeWrite()
protected function onBeforeWrite()
{
// Clear cache before changing file
$this->getTextCache()->invalidate($this->owner);