@@ -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\InvalidConfiguration; |
| 8 | 8 | |
| 9 | 9 | class FailedJobNotifier |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\FailedJobMonitor; |
| 4 | 4 | |
| 5 | -use Illuminate\Queue\Events\JobFailed; |
|
| 6 | 5 | use Illuminate\Notifications\Messages\MailMessage; |
| 7 | -use Illuminate\Notifications\Messages\SlackMessage; |
|
| 8 | 6 | use Illuminate\Notifications\Messages\SlackAttachment; |
| 7 | +use Illuminate\Notifications\Messages\SlackMessage; |
|
| 9 | 8 | use Illuminate\Notifications\Notification as IlluminateNotification; |
| 9 | +use Illuminate\Queue\Events\JobFailed; |
|
| 10 | 10 | |
| 11 | 11 | class Notification extends IlluminateNotification |
| 12 | 12 | { |