From 5781595fc644ef7c39fc4cb800a3053e8637df13 Mon Sep 17 00:00:00 2001 From: Yoga Pangestu Date: Fri, 30 Jan 2026 08:58:09 +0700 Subject: [PATCH] feat: make BroadcastNotification queueable by implementing ShouldQueue and using SerializesModels. --- app/Notifications/BroadcastNotification.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/Notifications/BroadcastNotification.php b/app/Notifications/BroadcastNotification.php index 777aaa0..b52de30 100644 --- a/app/Notifications/BroadcastNotification.php +++ b/app/Notifications/BroadcastNotification.php @@ -4,11 +4,14 @@ use Filament\Notifications\Notification as FilamentNotification; use Illuminate\Bus\Queueable; +use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Notification; -class BroadcastNotification extends Notification +use Illuminate\Queue\SerializesModels; + +class BroadcastNotification extends Notification implements ShouldQueue { - use Queueable; + use Queueable, SerializesModels; public function __construct( protected array $payload