@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | { |
22 | 22 | $this->app->singleton( |
23 | 23 | 'command.queueawsbatch.work-batch', |
24 | - function ($app) { |
|
24 | + function($app) { |
|
25 | 25 | return new QueueWorkBatchCommand( |
26 | 26 | $app['queue'], |
27 | 27 | $app['queue.worker'], |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | */ |
48 | 48 | protected function registerBatchConnector($manager) |
49 | 49 | { |
50 | - $manager->addConnector('batch', function () { |
|
50 | + $manager->addConnector('batch', function() { |
|
51 | 51 | return new BatchConnector($this->app['db']); |
52 | 52 | }); |
53 | 53 | } |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace LukeWaite\LaravelQueueAwsBatch\Console; |
13 | 13 | |
14 | -use Illuminate\Console\Command; |
|
15 | 14 | use Illuminate\Foundation\Exceptions\Handler; |
16 | 15 | use Illuminate\Queue\Console\WorkCommand; |
17 | 16 | use Illuminate\Queue\QueueManager; |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | /** |
58 | 58 | * Get the display name for the given job. |
59 | 59 | * |
60 | - * @param mixed $job |
|
60 | + * @param string $job |
|
61 | 61 | * @return string |
62 | 62 | */ |
63 | 63 | protected function getBatchDisplayName($job) |
@@ -114,6 +114,9 @@ discard block |
||
114 | 114 | return $this->marshalJob($job->queue, $job); |
115 | 115 | } |
116 | 116 | |
117 | + /** |
|
118 | + * @param DatabaseJobRecord $job |
|
119 | + */ |
|
117 | 120 | protected function marshalJob($queue, $job) |
118 | 121 | { |
119 | 122 | $job = $this->markJobAsReserved($job); |