Skip to content

Commit

Permalink
fix(核心): 修复读取未读信息报错
Browse files Browse the repository at this point in the history
  • Loading branch information
medz committed Nov 29, 2018
1 parent 597889a commit aba55a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Support/PinnedsNotificationEventer.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function dispatch()
{
$notifications = collect($this->events->dispatch($this->prefix));

return $notification->reject(function ($notification): bool {
return $notifications->reject(function ($notification): bool {
if (! is_array($notification)) {
return true;
} elseif (! isset($notification['namespace'])) {
Expand Down

0 comments on commit aba55a6

Please sign in to comment.