@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\FailedJobMonitor; |
4 | 4 | |
5 | -use Illuminate\Queue\QueueManager; |
|
6 | 5 | use Illuminate\Queue\Events\JobFailed; |
6 | +use Illuminate\Queue\QueueManager; |
|
7 | 7 | use Spatie\FailedJobMonitor\Exceptions\InvalidNotificationException; |
8 | 8 | |
9 | 9 | class FailedJobNotifier |
@@ -3,11 +3,11 @@ |
||
3 | 3 | namespace Spatie\FailedJobMonitor; |
4 | 4 | |
5 | 5 | use Carbon\Carbon; |
6 | -use Illuminate\Queue\Events\JobFailed; |
|
7 | 6 | use Illuminate\Notifications\Messages\MailMessage; |
8 | -use Illuminate\Notifications\Messages\SlackMessage; |
|
9 | 7 | use Illuminate\Notifications\Messages\SlackAttachment; |
8 | +use Illuminate\Notifications\Messages\SlackMessage; |
|
10 | 9 | use Illuminate\Notifications\Notification as NotificationBase; |
10 | +use Illuminate\Queue\Events\JobFailed; |
|
11 | 11 | |
12 | 12 | class Notification extends NotificationBase |
13 | 13 | { |