fix: [behavior:notifyAdmin] Removed required parameter after optional

develop-unstable
Sami Mokaddem 2022-12-13 10:56:05 +01:00
parent 5a144d78ab
commit 8c94aae994
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ class NotifyAdminsBehavior extends Behavior
public function notifySiteAdmins( public function notifySiteAdmins(
string $origin, string $origin,
string $title, string $title,
string $message = '', string $message,
array $data array $data
): void { ): void {
$this->InboxProcessors = $this->InboxProcessors ?: TableRegistry::getTableLocator()->get('InboxProcessors'); $this->InboxProcessors = $this->InboxProcessors ?: TableRegistry::getTableLocator()->get('InboxProcessors');