diff --git a/app/Listeners/CreateProductViewLog.php b/app/Listeners/CreateProductViewLog.php index 3c37d819..cab8e11c 100644 --- a/app/Listeners/CreateProductViewLog.php +++ b/app/Listeners/CreateProductViewLog.php @@ -4,14 +4,10 @@ namespace App\Listeners; use App\Events\ProductSkuViewed; use App\Models\ProductViewLog; -use Illuminate\Contracts\Queue\ShouldQueue; -use Illuminate\Queue\InteractsWithQueue; use Throwable; -class CreateProductViewLog implements ShouldQueue +class CreateProductViewLog { - use InteractsWithQueue; - /** * Handle the event. * diff --git a/app/Listeners/OrderPaidNotify.php b/app/Listeners/OrderPaidNotify.php index a53e1bf7..3a0df949 100644 --- a/app/Listeners/OrderPaidNotify.php +++ b/app/Listeners/OrderPaidNotify.php @@ -4,14 +4,10 @@ namespace App\Listeners; use App\Events\OrderPaid; use App\Models\Message; -use Illuminate\Contracts\Queue\ShouldQueue; -use Illuminate\Queue\InteractsWithQueue; use Throwable; -class OrderPaidNotify implements ShouldQueue +class OrderPaidNotify { - use InteractsWithQueue; - /** * Handle the event. *