Completed
Push — master ( 1fa7b2...dbb88a )
by Akihito
02:10
created
src/Snidel.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
             }
136 136
 
137 137
             $result = new Result();
138
-            register_shutdown_function(function () use ($result) {
138
+            register_shutdown_function(function() use ($result) {
139 139
                 $data = $this->dataRepository->load(getmypid());
140 140
                 try {
141 141
                     $data->write($result);
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
 
231 231
         if ($tag === null) {
232 232
             return array_map(
233
-                function ($fork) {
233
+                function($fork) {
234 234
                     return $fork->getResult()->getReturn();
235 235
                 },
236 236
                 $this->forkContainer->get()
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
         }
259 259
 
260 260
         return array_map(
261
-            function ($fork) {
261
+            function($fork) {
262 262
                 return $fork->getResult()->getReturn();
263 263
             },
264 264
             $this->forkContainer->get($tag)
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
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      */
84 84
     private function getWithTag($tag)
85 85
     {
86
-        return array_filter($this->forks, function ($fork) use ($tag) {
86
+        return array_filter($this->forks, function($fork) use ($tag) {
87 87
             return $this->tagsToPids[$fork->getPid()] === $tag;
88 88
         });
89 89
     }
Please login to merge, or discard this patch.