@@ -16,11 +16,11 @@ discard block |
||
| 16 | 16 | */ |
| 17 | 17 | public function register(Container $container): void |
| 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 | } |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | * @return ResponseInterface |
| 53 | 53 | */ |
| 54 | 54 | public function create( |
| 55 | - $object, |
|
| 55 | + $object, |
|
| 56 | 56 | string $accept, |
| 57 | 57 | int $status = 200, |
| 58 | 58 | NormalizerContextInterface $context = null |