@@ -25,7 +25,7 @@ |
||
| 25 | 25 | $this->hasOnErrorSet = null !== $callback; |
| 26 | 26 | |
| 27 | 27 | $this->start( |
| 28 | - static function (string $type, string $buffer) use ($callback, $onError) { |
|
| 28 | + static function(string $type, string $buffer) use ($callback, $onError) { |
|
| 29 | 29 | // if we can't decode probably child failed to execute |
| 30 | 30 | if ($decoded = base64_decode($buffer, true)) { |
| 31 | 31 | /** @var AsyncChildResponse $asyncChildResponse */ |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | { |
| 74 | 74 | if (!self::$shutdownFunctionRegistered) { |
| 75 | 75 | register_shutdown_function( |
| 76 | - static function () { |
|
| 76 | + static function() { |
|
| 77 | 77 | self::waitForProcessesToFinish(); |
| 78 | 78 | } |
| 79 | 79 | ); |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | |
| 84 | 84 | private static function waitForProcessesToFinish(int $maxProcessToWait = 0): void |
| 85 | 85 | { |
| 86 | - for (; ;) { |
|
| 86 | + for (;;) { |
|
| 87 | 87 | if (0 === self::$processAmount || $maxProcessToWait > self::$processAmount) { |
| 88 | 88 | break; |
| 89 | 89 | } |