Passed
Push — master ( 20fa94...bcb279 )
by Michael
02:03
created
src/DependencyInjection/JsonApiConfiguration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@
 block discarded – undo
17 17
         $children = $builder->root('mrtn_json_api')->children();
18 18
 
19 19
         $children->arrayNode('mappers')
20
-            ->defaultValue(['default' => [
20
+            ->defaultValue([ 'default' => [
21 21
                 'handlers' => [
22 22
                     'attribute',
23 23
                     'relationship',
24 24
                     'link'
25 25
                 ]
26
-            ]])
26
+            ] ])
27 27
             ->prototype('array')
28 28
                 ->children()
29 29
                     ->arrayNode('handlers')
Please login to merge, or discard this patch.
src/EventListener/JsonApiViewListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     {
53 53
         $result = $event->getControllerResult();
54 54
 
55
-        if (! is_object($result)) {
55
+        if (!is_object($result)) {
56 56
             return;
57 57
         }
58 58
 
Please login to merge, or discard this patch.