Completed
Push — master ( 7b32e3...ff4b4c )
by Akihito
02:12
created
src/Snidel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         foreach ($this->signals as $sig) {
82 82
             $this->pcntl->signal(
83 83
                 $sig,
84
-                function ($sig) {
84
+                function($sig) {
85 85
                     $this->log->info('received signal. signo: ' . $sig);
86 86
                     $this->receivedSignal = $sig;
87 87
 
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
             }
152 152
 
153 153
             $result = new Result();
154
-            register_shutdown_function(function () use ($result) {
154
+            register_shutdown_function(function() use ($result) {
155 155
                 $data = $this->dataRepository->load(getmypid());
156 156
                 try {
157 157
                     $data->write($result);
Please login to merge, or discard this patch.
src/Snidel/ForkContainer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     private function getCollectionWithTag($tag)
86 86
     {
87 87
         return new ForkCollection(
88
-            array_filter($this->forks, function ($fork) use ($tag) {
88
+            array_filter($this->forks, function($fork) use ($tag) {
89 89
                 return $this->tagsToPids[$fork->getPid()] === $tag;
90 90
             })
91 91
         );
Please login to merge, or discard this patch.
src/Snidel/ForkCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      */
12 12
     public function __construct($forks)
13 13
     {
14
-        array_map(function ($fork) {
14
+        array_map(function($fork) {
15 15
             $this->forks[] = $fork;
16 16
         }, $forks);
17 17
     }
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     public function toArray()
23 23
     {
24 24
         return array_map(
25
-            function ($fork) {
25
+            function($fork) {
26 26
                 return $fork->getResult()->getReturn();
27 27
             },
28 28
             $this->forks
Please login to merge, or discard this patch.