Passed
Push — master ( ceaf9c...e510fe )
by Dominik
01:54
created
src/Provider/ApiHttpProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Manager/ResponseManager.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.