@@ -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 @@ |
||
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 |
@@ -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,7 +16,7 @@ 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( |
21 | 21 | $container['api-http.request.contentNegotiator'], |
22 | 22 | $container['deserializer'], |
@@ -24,11 +24,11 @@ discard block |
||
24 | 24 | ); |
25 | 25 | }; |
26 | 26 | |
27 | - $container['api-http.request.contentNegotiator'] = function () { |
|
27 | + $container['api-http.request.contentNegotiator'] = function() { |
|
28 | 28 | return new ContentNegotiator(); |
29 | 29 | }; |
30 | 30 | |
31 | - $container['api-http.request.manager'] = function () use ($container) { |
|
31 | + $container['api-http.request.manager'] = function() use ($container) { |
|
32 | 32 | return new ResponseManager( |
33 | 33 | $container['api-http.request.manager'], |
34 | 34 | $container['api-http.response.factory'], |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | ); |
38 | 38 | }; |
39 | 39 | |
40 | - $container['api-http.response.factory'] = function () { |
|
40 | + $container['api-http.response.factory'] = function() { |
|
41 | 41 | throw new \RuntimeException('Missing response factory, define service "api-http.response.factory"'); |
42 | 42 | }; |
43 | 43 | } |