We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83d3706 commit 927f6e5Copy full SHA for 927f6e5
src/Events/EventWatcher.php
@@ -13,7 +13,7 @@ public function register(): void
13
{
14
Event::listen('*', function (string $eventName, array $data) {
15
16
- $event = $data[0] ?? null;
+ $event = $data[0] ?? (object) null;
17
18
if (! method_exists($event, 'broadcastOn')) {
19
return;
0 commit comments