diff --git a/src/Illuminate/Support/Testing/Fakes/NotificationFake.php b/src/Illuminate/Support/Testing/Fakes/NotificationFake.php index 12794711b091..df00c465ff3c 100644 --- a/src/Illuminate/Support/Testing/Fakes/NotificationFake.php +++ b/src/Illuminate/Support/Testing/Fakes/NotificationFake.php @@ -306,10 +306,10 @@ public function sendNow($notifiables, $notification, array $channels = null) $notifiableChannels, fn ($channel) => $notification->shouldSend($notifiable, $channel) !== false ); + } - if (empty($notifiableChannels)) { - continue; - } + if (empty($notifiableChannels)) { + continue; } $this->notifications[get_class($notifiable)][$notifiable->getKey()][get_class($notification)][] = [