Completed
Push — master ( dd2f15...c23261 )
by Akihito
02:17
created
src/Snidel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@
 block discarded – undo
255 255
      * @param   mixed                       $args
256 256
      * @param   string                      $tag
257 257
      * @param   \Ackintosh\Snidel\Token     $token
258
-     * @return  void
258
+     * @return  integer
259 259
      * @throws  \RuntimeException
260 260
      */
261 261
     public function forkSimply($callable, $args = array(), $tag = null, Token $token = null)
Please login to merge, or discard this patch.
src/Snidel/TaskQueue.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
     private $queuedCount = 0;
12 12
     private $dequeuedCount = 0;
13 13
 
14
+    /**
15
+     * @param integer $ownerPid
16
+     */
14 17
     public function __construct($ownerPid)
15 18
     {
16 19
         $this->ownerPid = $ownerPid;
Please login to merge, or discard this patch.
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 !== null && $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 !== null && $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/ResultQueue.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
     private $queuedCount = 0;
12 12
     private $dequeuedCount = 0;
13 13
 
14
+    /**
15
+     * @param integer $ownerPid
16
+     */
14 17
     public function __construct($ownerPid)
15 18
     {
16 19
         $this->ownerPid = $ownerPid;
Please login to merge, or discard this patch.