fix: [behavior:notifyAdmin] Removed required parameter after optional
parent
5a144d78ab
commit
8c94aae994
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue