Skip to content

Commit

Permalink
DOC Update extension hook examples to be protected
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed May 21, 2024
1 parent 668d0ce commit 5ad91c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/Stubs/RestfulServerTestExceptionThrown.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class RestfulServerTestExceptionThrown extends DataObject implements TestOnly
'Title' => 'Text',
);

public function onBeforeWrite()
protected function onBeforeWrite()
{
parent::onBeforeWrite();

Expand Down

0 comments on commit 5ad91c8

Please sign in to comment.