Commit 6d82d38f authored by Administrator's avatar Administrator

Update 1 files via Son of Anton

parent c1cce64e
...@@ -15,7 +15,7 @@ final class EventBus ...@@ -15,7 +15,7 @@ final class EventBus
]; ];
} }
public static function dispatch(string $event, array &$data = []): array public static function dispatch(string $event, array $data = []): array
{ {
if (!isset(self::$listeners[$event])) { if (!isset(self::$listeners[$event])) {
return []; return [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment