API Set extension hook implementation visibility to protected

This commit is contained in:
Steve Boyd 2024-05-20 17:03:34 +12:00
parent 4dcb3a3f0e
commit e6c4b6eca4

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)) {