@@ -20,7 +20,7 @@ |
||
| 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 |
@@ -81,7 +81,7 @@ discard block |
||
| 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 |
||
| 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); |