Completed
Push — master ( 52239f...2586be )
by Akihito
02:50
created
src/Snidel/Log.php 1 patch
Switch Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -50,15 +50,15 @@
 block discarded – undo
50 50
         }
51 51
         $pid = getmypid();
52 52
         switch (true) {
53
-        case $this->ownerPid === $pid:
54
-            $role = 'owner';
55
-            break;
56
-        case $this->masterPid === $pid:
57
-            $role = 'master';
58
-            break;
59
-        default:
60
-            $role = 'worker';
61
-            break;
53
+            case $this->ownerPid === $pid:
54
+                $role = 'owner';
55
+                break;
56
+            case $this->masterPid === $pid:
57
+                $role = 'master';
58
+                break;
59
+            default:
60
+                $role = 'worker';
61
+                break;
62 62
         }
63 63
         fputs(
64 64
             $this->destination,
Please login to merge, or discard this patch.
src/Snidel/Fork/Container.php 1 patch
Doc Comments   +7 added lines, -2 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, $concurrency = 5)
58 59
     {
@@ -68,6 +69,7 @@  discard block
 block discarded – undo
68 69
 
69 70
     /**
70 71
      * @param   \Ackintosh\Snidel\Task
72
+     * @param \Ackintosh\Snidel\Task\Task $task
71 73
      * @return  void
72 74
      * @throws  \RuntimeException
73 75
      */
@@ -89,7 +91,7 @@  discard block
 block discarded – undo
89 91
     }
90 92
 
91 93
     /**
92
-     * @return  \Ackintosh\Snidel\Fork\Fork
94
+     * @return  Result
93 95
      */
94 96
     private function dequeue()
95 97
     {
@@ -293,6 +295,9 @@  discard block
 block discarded – undo
293 295
         }
294 296
     }
295 297
 
298
+    /**
299
+     * @param string $tag
300
+     */
296 301
     public function getCollection($tag = null)
297 302
     {
298 303
         if ($tag === null) {
@@ -335,7 +340,7 @@  discard block
 block discarded – undo
335 340
     }
336 341
 
337 342
     /**
338
-     * @return  \Ackintosh\Sniden\Error
343
+     * @return  Error
339 344
      */
340 345
     public function getError()
341 346
     {
Please login to merge, or discard this patch.