@@ -32,7 +32,7 @@ |
||
| 32 | 32 | |
| 33 | 33 | private static function chain(JsonRpc\Middleware $outer, callable $inner): callable |
| 34 | 34 | { |
| 35 | - return function (JsonRpc\Request $request) use ($outer, $inner): JsonRpc\Response { |
|
| 35 | + return function(JsonRpc\Request $request) use ($outer, $inner): JsonRpc\Response { |
|
| 36 | 36 | return $outer($request, $inner); |
| 37 | 37 | }; |
| 38 | 38 | } |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | if (0 === $pid) { |
| 29 | 29 | \fclose($pair[0]); |
| 30 | 30 | |
| 31 | - \fwrite($pair[1], $this->single(Input::fromSafeData($request)) . "\n"); |
|
| 31 | + \fwrite($pair[1], $this->single(Input::fromSafeData($request))."\n"); |
|
| 32 | 32 | |
| 33 | 33 | \fclose($pair[1]); |
| 34 | 34 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | $children[$pid] = $pair[0]; |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - while(-1 !== $pid = \pcntl_wait($status)) { |
|
| 43 | + while (-1 !== $pid = \pcntl_wait($status)) { |
|
| 44 | 44 | $socket = $children[$pid]; |
| 45 | 45 | |
| 46 | 46 | if ('' !== $response = \trim(\fgets($socket))) { |