Completed
Pull Request — master (#53)
by Matthew
07:37
created
Tests/Manager/BaseJobManagerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -207,6 +207,9 @@
 block discarded – undo
207 207
         return $count;
208 208
     }
209 209
 
210
+    /**
211
+     * @param integer $expected
212
+     */
210 213
     protected static function getWaitingJobCount($expected)
211 214
     {
212 215
         $count = self::$jobManager->getWaitingJobCount();
Please login to merge, or discard this patch.
Tests/RabbitMQ/JobManagerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -252,6 +252,9 @@
 block discarded – undo
252 252
         self::$jobManager->saveHistory($jobInQueue);
253 253
     }
254 254
 
255
+    /**
256
+     * @param \PhpAmqpLib\Channel\AMQPChannel $channel
257
+     */
255 258
     protected static function drainQueue($channel)
256 259
     {
257 260
         $drained = 0;
Please login to merge, or discard this patch.
Redis/JobManager.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -153,6 +153,7 @@  discard block
 block discarded – undo
153 153
     /**
154 154
      * @param string   $crcCacheKey
155 155
      * @param int|null $newFoundPriority
156
+     * @param string $foundJobCacheKey
156 157
      */
157 158
     protected function finishBatchFoundJob(Job $foundJob, $foundJobCacheKey, $crcCacheKey, $newFoundWhen, $newFoundPriority)
158 159
     {
@@ -175,6 +176,7 @@  discard block
 block discarded – undo
175 176
 
176 177
     /**
177 178
      * @param bool $adjust
179
+     * @param string $crcCacheKey
178 180
      */
179 181
     protected function addFoundJob($adjust, Job $foundJob, $foundJobCacheKey, $crcCacheKey)
180 182
     {
@@ -427,6 +429,9 @@  discard block
 block discarded – undo
427 429
         return true;
428 430
     }
429 431
 
432
+    /**
433
+     * @param string $cacheKey
434
+     */
430 435
     private function collateStatusResults(array &$results, $cacheKey)
431 436
     {
432 437
         $cursor = null;
Please login to merge, or discard this patch.
Doctrine/DoctrineJobManager.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -63,6 +63,10 @@  discard block
 block discarded – undo
63 63
         }
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $workerName
68
+     * @param string $method
69
+     */
66 70
     public function pruneExpiredJobs($workerName = null, $method = null)
67 71
     {
68 72
         $count = $this->updateExpired($workerName, $method);
@@ -305,6 +309,9 @@  discard block
 block discarded – undo
305 309
      */
306 310
     abstract protected function stopIdGenerator($objectName);
307 311
 
312
+    /**
313
+     * @param string $objectName
314
+     */
308 315
     abstract protected function restoreIdGenerator($objectName);
309 316
 
310 317
     /**
@@ -341,6 +348,9 @@  discard block
 block discarded – undo
341 348
         return $countProcessed;
342 349
     }
343 350
 
351
+    /**
352
+     * @param string $function
353
+     */
344 354
     protected function resetSaveOk($function)
345 355
     {
346 356
     }
Please login to merge, or discard this patch.