We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2838480 commit 48999e0Copy full SHA for 48999e0
src/FailedJobNotifier.php
@@ -2,6 +2,7 @@
2
3
namespace Spatie\FailedJobMonitor;
4
5
+use Illuminate\Notifications\Notification as IlluminateNotification;
6
use Illuminate\Queue\Events\JobFailed;
7
use Illuminate\Queue\QueueManager;
8
use Spatie\FailedJobMonitor\Exceptions\InvalidConfiguration;
@@ -31,7 +32,7 @@ public function isValidNotificationClass($notification): bool
31
32
return true;
33
}
34
- if (is_subclass_of($notification, Notification::class)) {
35
+ if (is_subclass_of($notification, IlluminateNotification::class)) {
36
37
38
0 commit comments