Completed
Push — master ( 1ed8ca...bde3a0 )
by Luke
02:05
created
src/BatchQueueServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Console/QueueWorkBatchCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Queues/BatchQueue.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.