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)