From e6c4b6eca433baba31ecf44cbe79a2042debc2d3 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 20 May 2024 17:03:34 +1200 Subject: [PATCH] API Set extension hook implementation visibility to protected --- src/EditableSpamProtectionField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EditableSpamProtectionField.php b/src/EditableSpamProtectionField.php index 323a47a..0424a1c 100644 --- a/src/EditableSpamProtectionField.php +++ b/src/EditableSpamProtectionField.php @@ -127,7 +127,7 @@ protected function getCandidateFields() * * {@inheritDoc} */ - public function onBeforeWrite() + protected function onBeforeWrite() { $fieldMap = json_decode($this->SpamFieldSettings ?? '', true); if (empty($fieldMap)) {