@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\ApiHttp\Manager; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\ApiHttp\Manager; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\ApiHttp\Manager; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\ApiHttp\Manager; |
6 | 6 |
@@ -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 | |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | */ |
18 | 18 | public function register(Container $container) |
19 | 19 | { |
20 | - $container['api-http.request.manager'] = function () use ($container) { |
|
20 | + $container['api-http.request.manager'] = function() use ($container) { |
|
21 | 21 | return new RequestManager( |
22 | 22 | $container['api-http.request.contentNegotiator'], |
23 | 23 | $container['deserializer'], |
@@ -25,11 +25,11 @@ discard block |
||
25 | 25 | ); |
26 | 26 | }; |
27 | 27 | |
28 | - $container['api-http.request.contentNegotiator'] = function () { |
|
28 | + $container['api-http.request.contentNegotiator'] = function() { |
|
29 | 29 | return new ContentNegotiator(); |
30 | 30 | }; |
31 | 31 | |
32 | - $container['api-http.response.manager'] = function () use ($container) { |
|
32 | + $container['api-http.response.manager'] = function() use ($container) { |
|
33 | 33 | return new ResponseManager( |
34 | 34 | $container['api-http.request.manager'], |
35 | 35 | $container['api-http.response.factory'], |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | ); |
39 | 39 | }; |
40 | 40 | |
41 | - $container['api-http.response.factory'] = function () { |
|
41 | + $container['api-http.response.factory'] = function() { |
|
42 | 42 | throw new \RuntimeException('Missing response factory, define service "api-http.response.factory"'); |
43 | 43 | }; |
44 | 44 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Chubbyphp\ApiHttp\Factory; |
6 | 6 |