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.
2 parents ed111d8 + bb9284f commit c1f8a7cCopy full SHA for c1f8a7c
src/WebPushChannel.php
@@ -30,7 +30,7 @@ public function send($notifiable, Notification $notification)
30
{
31
$subscriptions = $notifiable->routeNotificationFor('WebPush');
32
33
- if ($subscriptions->isEmpty()) {
+ if (! $subscriptions || $subscriptions->isEmpty()) {
34
return;
35
}
36
0 commit comments