Completed
Push — master ( e0e9f1...0db5a1 )
by Akihito
02:53
created
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.
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
 
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
             $dataRepository     = $this->dataRepository;
158 158
             $log                = $this->log;
159 159
             $processToken       = $this->processToken;
160
-            register_shutdown_function(function () use ($result, $dataRepository, $log, $processToken) {
160
+            register_shutdown_function(function() use ($result, $dataRepository, $log, $processToken) {
161 161
                 $data = $dataRepository->load(getmypid());
162 162
                 try {
163 163
                     $data->write($result);
Please login to merge, or discard this patch.