Skip to content

Commit b3b3a69

Browse files
committed
Merge branch 'pr/145'
2 parents 5cd9b63 + 31f0b7a commit b3b3a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebPushChannel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function send($notifiable, Notification $notification)
4141
/** @var \Illuminate\Database\Eloquent\Collection $subscriptions */
4242
$subscriptions = $notifiable->routeNotificationFor('WebPush', $notification);
4343

44-
if (empty($subscriptions)) {
44+
if ($subscriptions->isEmpty()) {
4545
return;
4646
}
4747

0 commit comments

Comments
 (0)