Completed
Push — master ( 208887...1f73f5 )
by Alexey
38:56
created
commands/CommandTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      *
71 71
      * @param string $actionId
72 72
      *
73
-     * @return array
73
+     * @return string[]
74 74
      */
75 75
     public function options($actionId)
76 76
     {
Please login to merge, or discard this patch.
JobProcess.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     /**
52 52
      * Get the Artisan process for the job id.
53 53
      *
54
-     * @param Job|MongoJob $job
54
+     * @param Job $job
55 55
      * @param string $connectionName
56 56
      *
57 57
      * @return Process
Please login to merge, or discard this patch.
JobQueue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
     /**
83 83
      * Get queue manager instance
84 84
      *
85
-     * @return mixed
85
+     * @return \Illuminate\Queue\QueueManager
86 86
      */
87 87
     public function getQueueManager()
88 88
     {
Please login to merge, or discard this patch.
jobs/MongoJob.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Illuminate\Container\Container;
6 6
 use Illuminate\Contracts\Queue\Job as JobContract;
7 7
 use Illuminate\Queue\Jobs\Job;
8
-use stdClass;
9 8
 use yiicod\jobqueue\queues\MongoQueue;
10 9
 use yiicod\jobqueue\queues\MongoThreadQueue;
11 10
 
Please login to merge, or discard this patch.
queues/MongoThreadQueue.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * @param  mixed $data
93 93
      * @param  string $queue
94 94
      *
95
-     * @return mixed
95
+     * @return boolean
96 96
      */
97 97
     public function exists($job, $data = '', $queue = null)
98 98
     {
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      *
190 190
      * @param  string $queue
191 191
      *
192
-     * @return Job|null
192
+     * @return MongoJob|null
193 193
      */
194 194
     public function pop($queue = null)
195 195
     {
Please login to merge, or discard this patch.
Worker.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.