From 3f5881eff8dd189adc073d559e5cebee0ebeb407 Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Sat, 25 Feb 2023 12:06:40 +0100 Subject: [PATCH] queue notify --- app/Notifications/ModelCreatedNotification.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Notifications/ModelCreatedNotification.php b/app/Notifications/ModelCreatedNotification.php index 05f897cb..0b8958dc 100644 --- a/app/Notifications/ModelCreatedNotification.php +++ b/app/Notifications/ModelCreatedNotification.php @@ -3,16 +3,16 @@ namespace App\Notifications; use Illuminate\Bus\Queueable; +use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; -class ModelCreatedNotification extends Notification +class ModelCreatedNotification extends Notification implements ShouldQueue { use Queueable; /** * Create a new notification instance. - * * @return void */ public function __construct(public $model, public string $resource)