API Set extension hook implementation visibility to protected

This commit is contained in:
Steve Boyd 2024-05-20 17:01:52 +12:00
parent 668d0ce7f9
commit 4d30bfb220

View File

@ -23,7 +23,7 @@ class RestfulServerTestExceptionThrown extends DataObject implements TestOnly
'Title' => 'Text',
);
public function onBeforeWrite()
protected function onBeforeWrite()
{
parent::onBeforeWrite();