@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * |
63 | 63 | * @param QueueManager $manager |
64 | 64 | * @param FailedJobProviderInterface $failer |
65 | - * @param ExceptionHandler $exceptions |
|
65 | + * @param handlers\ExceptionHandler $exceptions |
|
66 | 66 | */ |
67 | 67 | public function __construct(QueueManager $manager, |
68 | 68 | FailedJobProviderInterface $failer, |
@@ -333,7 +333,7 @@ discard block |
||
333 | 333 | * |
334 | 334 | * @param string $connectionName |
335 | 335 | * @param \Illuminate\Contracts\Queue\Job $job |
336 | - * @param \Throwable $e |
|
336 | + * @param Exception $e |
|
337 | 337 | */ |
338 | 338 | protected function failJob($connectionName, $job, $e) |
339 | 339 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace yiicod\jobqueue; |
4 | 4 | |
5 | 5 | use Exception; |
6 | -use yiicod\jobqueue\handlersExceptionHandler; |
|
7 | 6 | use Illuminate\Queue\Failed\FailedJobProviderInterface; |
8 | 7 | use Illuminate\Queue\Jobs\Job; |
9 | 8 | use Illuminate\Queue\MaxAttemptsExceededException; |