Merge pull request #116 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:49:17 +12:00 committed by GitHub
commit 748184f8b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,7 +127,7 @@ class EditableSpamProtectionField extends EditableFormField
*
* {@inheritDoc}
*/
public function onBeforeWrite()
protected function onBeforeWrite()
{
$fieldMap = json_decode($this->SpamFieldSettings ?? '', true);
if (empty($fieldMap)) {