Completed
Push — master ( 1384b1...6391fe )
by Akihito
02:17
created
src/Snidel/Task/Task.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@  discard block
 block discarded – undo
18 18
     /**
19 19
      * @param   callable    $callable
20 20
      * @param   array       $args
21
-     * @param   string      $string
22 21
      */
23 22
     public function __construct($callable, $args, $tag)
24 23
     {
@@ -44,7 +43,7 @@  discard block
 block discarded – undo
44 43
     }
45 44
 
46 45
     /**
47
-     * @return  string|null
46
+     * @return  string
48 47
      */
49 48
     public function getTag()
50 49
     {
Please login to merge, or discard this patch.
src/Snidel.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * @param   mixed                       $args
127 127
      * @param   string                      $tag
128 128
      * @param   \Ackintosh\Snidel\Token     $token
129
-     * @return  void
129
+     * @return  integer
130 130
      * @throws  \RuntimeException
131 131
      */
132 132
     private function forkChild(Token $token, $callable, $args = array(), $tag = null)
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
      * gets results
227 227
      *
228 228
      * @param   string  $tag
229
-     * @return  \Ackintosh\Snidel\ForkCollection
229
+     * @return  Snidel\ResultCollection
230 230
      * @throws  \InvalidArgumentException
231 231
      */
232 232
     public function get($tag = null)
@@ -313,6 +313,7 @@  discard block
 block discarded – undo
313 313
      * fork the first processing of the map container
314 314
      *
315 315
      * @param   \Ackintosh\Snidel\MapContainer
316
+     * @param Token $token
316 317
      * @return  void
317 318
      * @throws  \RuntimeException
318 319
      */
Please login to merge, or discard this patch.
src/Snidel/ForkContainer.php 1 patch
Doc Comments   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,6 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
     /**
56 56
      * @param   int     $ownerPid
57
+     * @param Log $log
57 58
      */
58 59
     public function __construct($ownerPid, $log, $concurrency = 5)
59 60
     {
@@ -69,6 +70,7 @@  discard block
 block discarded – undo
69 70
 
70 71
     /**
71 72
      * @param   \Ackintosh\Snidel\Task
73
+     * @param Task\Task $task
72 74
      * @return  void
73 75
      * @throws  \RuntimeException
74 76
      */
@@ -303,7 +305,7 @@  discard block
 block discarded – undo
303 305
     }
304 306
 
305 307
     /**
306
-     * @return  array
308
+     * @return  integer[]
307 309
      */
308 310
     public function getChildPids()
309 311
     {
@@ -314,13 +316,16 @@  discard block
 block discarded – undo
314 316
      * return fork
315 317
      *
316 318
      * @param   int     $pid
317
-     * @return  \Ackintosh\Snidel\Fork
319
+     * @return  Result
318 320
      */
319 321
     public function get($pid)
320 322
     {
321 323
         return $this->results[$pid];
322 324
     }
323 325
 
326
+    /**
327
+     * @param string $tag
328
+     */
324 329
     public function getCollection($tag = null)
325 330
     {
326 331
         if ($tag === null) {
@@ -363,7 +368,7 @@  discard block
 block discarded – undo
363 368
     }
364 369
 
365 370
     /**
366
-     * @return  \Ackintosh\Sniden\Error
371
+     * @return  Error
367 372
      */
368 373
     public function getError()
369 374
     {
Please login to merge, or discard this patch.