Completed
Push — master ( 922e8a...cfbc00 )
by Akihito
02:15
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/ResultQueue.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -8,6 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     /**
10 10
      * @param   \Ackintosh\Snidel\Fork
11
+     * @param Fork $fork
11 12
      * @throws  \RuntimeException
12 13
      */
13 14
     public function enqueue($fork)
Please login to merge, or discard this patch.
src/Snidel/Fork.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -130,6 +130,7 @@
 block discarded – undo
130 130
     /**
131 131
      *
132 132
      * @param   \Ackintosh\Snidel\Result
133
+     * @param Result $result
133 134
      * @return  void
134 135
      */
135 136
     public function setResult($result)
Please login to merge, or discard this patch.
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.