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 0623c5a commit 31f0b7aCopy full SHA for 31f0b7a
src/WebPushChannel.php
@@ -41,7 +41,7 @@ public function send($notifiable, Notification $notification)
41
/** @var \Illuminate\Database\Eloquent\Collection $subscriptions */
42
$subscriptions = $notifiable->routeNotificationFor('WebPush', $notification);
43
44
- if (empty($subscriptions)) {
+ if ($subscriptions->isEmpty()) {
45
return;
46
}
47
0 commit comments