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 16f3fd9 commit ada0329Copy full SHA for ada0329
app/Support/PinnedsNotificationEventer.php
@@ -71,7 +71,7 @@ public function dispatch()
71
$notifications = collect($this->events->dispatch($this->prefix));
72
73
$notifications = $notifications->reject(function ($notification) {
74
- return ! class_exists($notification['namespace']) || array_diff_key($this->fillable, $notification);
+ return (! isset($notification['namespace']) && $notification['namespace'] && class_exists($notification['namespace'])) || array_diff_key($this->fillable, $notification);
75
});
76
77
return $notifications;
0 commit comments