@@ -42,7 +42,7 @@ |
||
42 | 42 | */ |
43 | 43 | public function handle($command): CancellablePromiseInterface |
44 | 44 | { |
45 | - return futurePromise($this->loop, $command)->then(function ($command) { |
|
45 | + return futurePromise($this->loop, $command)->then(function($command) { |
|
46 | 46 | return resolve($this->commandBus->handle($command)); |
47 | 47 | }); |
48 | 48 | } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | |
27 | 27 | public static function write(string $cacheFile, array $mapping): void |
28 | 28 | { |
29 | - file_put_contents($cacheFile, json_encode(array_map(function (Handler $handler) { |
|
29 | + file_put_contents($cacheFile, json_encode(array_map(function(Handler $handler) { |
|
30 | 30 | return [ |
31 | 31 | $handler->getHandler(), |
32 | 32 | ]; |