Skip to content

Commit

Permalink
Merge pull request #116 from creative-commoners/pulls/5/protect-hooks
Browse files Browse the repository at this point in the history
API Set extension hook implementation visibility to protected
  • Loading branch information
GuySartorelli authored May 21, 2024
2 parents 77bf59a + e6c4b6e commit 748184f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EditableSpamProtectionField.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ protected function getCandidateFields()
*
* {@inheritDoc}
*/
public function onBeforeWrite()
protected function onBeforeWrite()
{
$fieldMap = json_decode($this->SpamFieldSettings ?? '', true);
if (empty($fieldMap)) {
Expand Down

0 comments on commit 748184f

Please sign in to comment.