@@ -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 | } |
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | public static function write(string $cacheFile, array $mapping): bool |
26 | 26 | { |
27 | - return (bool)file_put_contents($cacheFile, json_encode(array_map(function (Handler $handler) { |
|
27 | + return (bool) file_put_contents($cacheFile, json_encode(array_map(function(Handler $handler) { |
|
28 | 28 | return [ |
29 | 29 | $handler->getHandler(), |
30 | 30 | ]; |