Completed
Push — master ( 215ee6...5002cd )
by Akihito
02:09
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function toArray()
21 21
     {
22 22
         return array_map(
23
-            function ($fork) {
23
+            function($fork) {
24 24
                 return $fork->getResult()->getReturn();
25 25
             },
26 26
             $this->forks
Please login to merge, or discard this patch.