Completed
Pull Request — master (#15)
by Akihito
04:37
created
src/Snidel.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
 use Ackintosh\Snidel\Fork\Container;
8 8
 use Ackintosh\Snidel\Log;
9 9
 use Ackintosh\Snidel\Pcntl;
10
-use Ackintosh\Snidel\DataRepository;
11
-use Ackintosh\Snidel\MapContainer;
12 10
 use Ackintosh\Snidel\Task\Task;
13 11
 
14 12
 class Snidel
Please login to merge, or discard this patch.
src/Snidel/Fork/Container.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,6 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     /**
55 55
      * @param   int     $ownerPid
56
+     * @param \Ackintosh\Snidel\Log $log
56 57
      */
57 58
     public function __construct($ownerPid, $log, Config $config)
58 59
     {
@@ -66,6 +67,7 @@  discard block
 block discarded – undo
66 67
 
67 68
     /**
68 69
      * @param   \Ackintosh\Snidel\Task
70
+     * @param \Ackintosh\Snidel\Task\Task $task
69 71
      * @return  void
70 72
      * @throws  \RuntimeException
71 73
      */
@@ -91,7 +93,7 @@  discard block
 block discarded – undo
91 93
     }
92 94
 
93 95
     /**
94
-     * @return  \Ackintosh\Snidel\Fork\Fork
96
+     * @return  \Ackintosh\Snidel\Result\Result
95 97
      */
96 98
     private function dequeue()
97 99
     {
@@ -310,6 +312,9 @@  discard block
 block discarded – undo
310 312
         }
311 313
     }
312 314
 
315
+    /**
316
+     * @param string $tag
317
+     */
313 318
     public function getCollection($tag = null)
314 319
     {
315 320
         if ($tag === null) {
Please login to merge, or discard this patch.