@@ -13,11 +13,11 @@ discard block |
||
13 | 13 | { |
14 | 14 | public function register(Container $container): void |
15 | 15 | { |
16 | - $container['api-http.request.manager'] = static function () use ($container) { |
|
16 | + $container['api-http.request.manager'] = static function() use ($container) { |
|
17 | 17 | return new RequestManager($container['deserializer']); |
18 | 18 | }; |
19 | 19 | |
20 | - $container['api-http.response.manager'] = static function () use ($container) { |
|
20 | + $container['api-http.response.manager'] = static function() use ($container) { |
|
21 | 21 | return new ResponseManager( |
22 | 22 | $container['deserializer'], |
23 | 23 | $container['api-http.response.factory'], |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | ); |
26 | 26 | }; |
27 | 27 | |
28 | - $container['api-http.response.factory'] = static function (): void { |
|
28 | + $container['api-http.response.factory'] = static function(): void { |
|
29 | 29 | throw new \RuntimeException('Missing response factory, define service "api-http.response.factory"'); |
30 | 30 | }; |
31 | 31 | } |