Completed
Push — master ( 75acb7...b42713 )
by Akihito
03:09
created
src/Snidel/Fork/Container.php 1 patch
Doc Comments   +9 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,6 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
     /**
61 61
      * @param   int     $ownerPid
62
+     * @param \Ackintosh\Snidel\Log $log
62 63
      */
63 64
     public function __construct($ownerPid, $log, $concurrency = 5)
64 65
     {
@@ -74,6 +75,7 @@  discard block
 block discarded – undo
74 75
 
75 76
     /**
76 77
      * @param   \Ackintosh\Snidel\Task
78
+     * @param \Ackintosh\Snidel\Task\Task $task
77 79
      * @return  void
78 80
      * @throws  \RuntimeException
79 81
      */
@@ -95,7 +97,7 @@  discard block
 block discarded – undo
95 97
     }
96 98
 
97 99
     /**
98
-     * @return  \Ackintosh\Snidel\Fork\Fork
100
+     * @return  Result
99 101
      */
100 102
     private function dequeue()
101 103
     {
@@ -345,7 +347,7 @@  discard block
 block discarded – undo
345 347
     }
346 348
 
347 349
     /**
348
-     * @return  array
350
+     * @return  Fork[]
349 351
      */
350 352
     public function getChildren()
351 353
     {
@@ -356,13 +358,16 @@  discard block
 block discarded – undo
356 358
      * return fork
357 359
      *
358 360
      * @param   int     $pid
359
-     * @return  \Ackintosh\Snidel\Fork\Fork
361
+     * @return  Result
360 362
      */
361 363
     public function get($pid)
362 364
     {
363 365
         return $this->results[$pid];
364 366
     }
365 367
 
368
+    /**
369
+     * @param string $tag
370
+     */
366 371
     public function getCollection($tag = null)
367 372
     {
368 373
         if ($tag === null) {
@@ -405,7 +410,7 @@  discard block
 block discarded – undo
405 410
     }
406 411
 
407 412
     /**
408
-     * @return  \Ackintosh\Sniden\Error
413
+     * @return  Error
409 414
      */
410 415
     public function getError()
411 416
     {
Please login to merge, or discard this patch.