Passed
Push — master ( 051482...98c6ff )
by Dominik
01:46
created
src/Provider/ApiHttpProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.