@@ -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\Container\Container; |
16 | 15 | use Illuminate\Contracts\Cache\Repository; |
17 | 16 | use Illuminate\Foundation\Exceptions\Handler; |
@@ -115,6 +115,9 @@ |
||
115 | 115 | return $this->marshalJob($job->queue, $job); |
116 | 116 | } |
117 | 117 | |
118 | + /** |
|
119 | + * @param DatabaseJobRecord $job |
|
120 | + */ |
|
118 | 121 | protected function marshalJob($queue, $job) |
119 | 122 | { |
120 | 123 | $job = $this->markJobAsReserved($job); |