From 6b2cc3772f23eb3ca32496489b6e7270df260c01 Mon Sep 17 00:00:00 2001 From: jcsoriano Date: Fri, 2 Feb 2024 15:48:11 +0800 Subject: [PATCH] Fix issue with event registration --- src/Providers/EmailMessageServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Providers/EmailMessageServiceProvider.php b/src/Providers/EmailMessageServiceProvider.php index c8ddd8c..9875fa7 100644 --- a/src/Providers/EmailMessageServiceProvider.php +++ b/src/Providers/EmailMessageServiceProvider.php @@ -2,12 +2,12 @@ namespace RickDBCN\FilamentEmail\Providers; -use Illuminate\Events\EventServiceProvider; use Illuminate\Mail\Events\MessageSent; use Illuminate\Support\Facades\Event; +use Illuminate\Support\ServiceProvider; use RickDBCN\FilamentEmail\Listeners\FilamentEmailLogger; -class EmailMessageServiceProvider extends EventServiceProvider +class EmailMessageServiceProvider extends ServiceProvider { public function boot(): void {