@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Chubbyphp\ApiHttp\Provider; |
| 6 | 6 | |
@@ -16,11 +16,11 @@ discard block |
||
| 16 | 16 | */ |
| 17 | 17 | public function register(Container $container) |
| 18 | 18 | { |
| 19 | - $container['api-http.request.manager'] = function () use ($container) { |
|
| 19 | + $container['api-http.request.manager'] = function() use ($container) { |
|
| 20 | 20 | return new RequestManager($container['deserializer']); |
| 21 | 21 | }; |
| 22 | 22 | |
| 23 | - $container['api-http.response.manager'] = function () use ($container) { |
|
| 23 | + $container['api-http.response.manager'] = function() use ($container) { |
|
| 24 | 24 | return new ResponseManager( |
| 25 | 25 | $container['deserializer'], |
| 26 | 26 | $container['api-http.response.factory'], |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | ); |
| 29 | 29 | }; |
| 30 | 30 | |
| 31 | - $container['api-http.response.factory'] = function () { |
|
| 31 | + $container['api-http.response.factory'] = function() { |
|
| 32 | 32 | throw new \RuntimeException('Missing response factory, define service "api-http.response.factory"'); |
| 33 | 33 | }; |
| 34 | 34 | } |