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 5cd9b63 + 31f0b7a commit b3b3a69Copy full SHA for b3b3a69
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