mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 14:38:39 +00:00
Set default data
This commit is contained in:
parent
5b8a4283b3
commit
736d61669c
|
|
@ -75,7 +75,7 @@ class EventManager
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function trigger(string $group, string $id = '', $data) /* : void */
|
public function trigger(string $group, string $id = '', $data = null) /* : void */
|
||||||
{
|
{
|
||||||
if(!isset($this->callbacks[$group])) {
|
if(!isset($this->callbacks[$group])) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user