Completed
Pull Request — master (#1)
by
unknown
38:22
created
Base/JobInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -16,6 +16,7 @@
 block discarded – undo
16 16
      *
17 17
      * @param Job $job
18 18
      * @param array $data
19
+     * @return void
19 20
      */
20 21
     public function fire(Job $job, array $data);
21 22
 }
Please login to merge, or discard this patch.
Queue/MongoQueue.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      *
97 97
      * @param string $queue
98 98
      *
99
-     * @return null|Job
99
+     * @return MongoJob|null
100 100
      */
101 101
     public function pop($queue = null)
102 102
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * @param mixed $data
117 117
      * @param string $queue
118 118
      *
119
-     * @return mixed
119
+     * @return boolean
120 120
      */
121 121
     public function exists($job, $data = '', $queue = null)
122 122
     {
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
      *
197 197
      * @param $id
198 198
      *
199
-     * @return null|Job
199
+     * @return null|MongoJob
200 200
      */
201 201
     public function getJobById($id)
202 202
     {
@@ -344,7 +344,7 @@  discard block
 block discarded – undo
344 344
      *
345 345
      * @param string|null $queue
346 346
      *
347
-     * @return null|Job
347
+     * @return MongoJob|null
348 348
      */
349 349
     protected function getNextAvailableJob($queue)
350 350
     {
Please login to merge, or discard this patch.
Service/JobQueue.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     /**
126 126
      * Push a new job onto the queue after a delay.
127 127
      *
128
-     * @param \DateTime|int $delay
128
+     * @param integer $delay
129 129
      * @param string $job
130 130
      * @param mixed $data
131 131
      * @param string $queue
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
     /**
142 142
      * Push a new job into the queue after a delay if job does not exist.
143 143
      *
144
-     * @param \DateTime|int $delay
144
+     * @param integer $delay
145 145
      * @param string $job
146 146
      * @param mixed $data
147 147
      * @param string $queue
@@ -162,7 +162,6 @@  discard block
 block discarded – undo
162 162
      * Add connector
163 163
      *
164 164
      * @param string $name
165
-     * @param Closure $resolver
166 165
      */
167 166
     public function addConnector(string $name, ConnectorInterface $connector)
168 167
     {
Please login to merge, or discard this patch.
Command/RetryCommand.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,6 @@
 block discarded – undo
35 35
      * RetryCommand constructor.
36 36
      *
37 37
      * @param JobQueue $queue
38
-     * @param MongoDriverInterface $mongoDriver
39 38
      */
40 39
     public function __construct(JobQueue $queue, MongoFailedJobProvider $failer)
41 40
     {
Please login to merge, or discard this patch.
Command/RunJobCommand.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
     /**
26 26
      * RunJobCommand constructor.
27 27
      *
28
-     * @param LoggerInterface $logger
29 28
      * @param Worker $worker
30 29
      */
31 30
     public function __construct(Worker $worker)
Please login to merge, or discard this patch.
Worker.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,9 +70,8 @@
 block discarded – undo
70 70
     /**
71 71
      * Create a new queue worker.
72 72
      *
73
-     * @param QueueManager $manager
74 73
      * @param MongoFailedJobProvider $failer
75
-     * @param ExceptionHandler $exceptions
74
+     * @param ExceptionHandlerInterface $exceptions
76 75
      */
77 76
     public function __construct(JobQueue $queue,
78 77
                                 JobProcess $process,
Please login to merge, or discard this patch.