Passed
Pull Request — master (#190)
by Sebastian
03:03
created
src/Language/Node/ScalarTypeExtensionNode.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 namespace Digia\GraphQL\Language\Node;
4 4
 
5 5
 class ScalarTypeExtensionNode extends AbstractNode implements TypeExtensionNodeInterface, DirectivesAwareInterface,
6
-  NameAwareInterface
6
+    NameAwareInterface
7 7
 {
8 8
 
9 9
     use NameTrait;
@@ -20,10 +20,10 @@  discard block
 block discarded – undo
20 20
     public function toArray(): array
21 21
     {
22 22
         return [
23
-          'kind' => $this->kind,
24
-          'name' => $this->getNameAsArray(),
25
-          'directives' => $this->getDirectivesAsArray(),
26
-          'loc' => $this->getLocationAsArray(),
23
+            'kind' => $this->kind,
24
+            'name' => $this->getNameAsArray(),
25
+            'directives' => $this->getDirectivesAsArray(),
26
+            'loc' => $this->getLocationAsArray(),
27 27
         ];
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/Language/Node/OperationTypeDefinitionNode.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,10 +31,10 @@
 block discarded – undo
31 31
     public function toArray(): array
32 32
     {
33 33
         return [
34
-          'kind' => $this->kind,
35
-          'operation' => $this->operation,
36
-          'type' => $this->getTypeAsArray(),
37
-          'loc' => $this->getLocationAsArray(),
34
+            'kind' => $this->kind,
35
+            'operation' => $this->operation,
36
+            'type' => $this->getTypeAsArray(),
37
+            'loc' => $this->getLocationAsArray(),
38 38
         ];
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
src/Language/Node/UnionTypeDefinitionNode.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -23,12 +23,12 @@
 block discarded – undo
23 23
     public function toArray(): array
24 24
     {
25 25
         return [
26
-          'kind' => $this->kind,
27
-          'description' => $this->getDescriptionAsArray(),
28
-          'name' => $this->getNameAsArray(),
29
-          'directives' => $this->getDirectivesAsArray(),
30
-          'types' => $this->getTypesAsArray(),
31
-          'loc' => $this->getLocationAsArray(),
26
+            'kind' => $this->kind,
27
+            'description' => $this->getDescriptionAsArray(),
28
+            'name' => $this->getNameAsArray(),
29
+            'directives' => $this->getDirectivesAsArray(),
30
+            'types' => $this->getTypesAsArray(),
31
+            'loc' => $this->getLocationAsArray(),
32 32
         ];
33 33
     }
34 34
 }
Please login to merge, or discard this patch.
src/Language/Node/InterfaceTypeDefinitionNode.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@
 block discarded – undo
21 21
     public function toArray(): array
22 22
     {
23 23
         return [
24
-          'kind' => $this->kind,
25
-          'description' => $this->getDescriptionAsArray(),
26
-          'name' => $this->getNameAsArray(),
27
-          'directives' => $this->getDirectivesAsArray(),
28
-          'fields' => $this->getFieldsAsArray(),
29
-          'loc' => $this->getLocationAsArray(),
24
+            'kind' => $this->kind,
25
+            'description' => $this->getDescriptionAsArray(),
26
+            'name' => $this->getNameAsArray(),
27
+            'directives' => $this->getDirectivesAsArray(),
28
+            'fields' => $this->getFieldsAsArray(),
29
+            'loc' => $this->getLocationAsArray(),
30 30
         ];
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
src/Language/Node/ObjectTypeDefinitionNode.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -22,13 +22,13 @@
 block discarded – undo
22 22
     public function toArray(): array
23 23
     {
24 24
         return [
25
-          'kind' => $this->kind,
26
-          'description' => $this->getDescriptionAsArray(),
27
-          'name' => $this->getNameAsArray(),
28
-          'interfaces' => $this->getInterfacesAsArray(),
29
-          'directives' => $this->getDirectivesAsArray(),
30
-          'fields' => $this->getFieldsAsArray(),
31
-          'loc' => $this->getLocationAsArray(),
25
+            'kind' => $this->kind,
26
+            'description' => $this->getDescriptionAsArray(),
27
+            'name' => $this->getNameAsArray(),
28
+            'interfaces' => $this->getInterfacesAsArray(),
29
+            'directives' => $this->getDirectivesAsArray(),
30
+            'fields' => $this->getFieldsAsArray(),
31
+            'loc' => $this->getLocationAsArray(),
32 32
         ];
33 33
     }
34 34
 }
Please login to merge, or discard this patch.
src/Language/Node/ObjectTypeExtensionNode.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -21,12 +21,12 @@
 block discarded – undo
21 21
     public function toArray(): array
22 22
     {
23 23
         return [
24
-          'kind' => $this->kind,
25
-          'name' => $this->getNameAsArray(),
26
-          'interfaces' => $this->getInterfacesAsArray(),
27
-          'directives' => $this->getDirectivesAsArray(),
28
-          'fields' => $this->getFieldsAsArray(),
29
-          'loc' => $this->getLocationAsArray(),
24
+            'kind' => $this->kind,
25
+            'name' => $this->getNameAsArray(),
26
+            'interfaces' => $this->getInterfacesAsArray(),
27
+            'directives' => $this->getDirectivesAsArray(),
28
+            'fields' => $this->getFieldsAsArray(),
29
+            'loc' => $this->getLocationAsArray(),
30 30
         ];
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
src/Language/Node/NamedTypeNode.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
     public function toArray(): array
19 19
     {
20 20
         return [
21
-          'kind' => $this->kind,
22
-          'name' => $this->getNameAsArray(),
23
-          'loc' => $this->getLocationAsArray(),
21
+            'kind' => $this->kind,
22
+            'name' => $this->getNameAsArray(),
23
+            'loc' => $this->getLocationAsArray(),
24 24
         ];
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/Language/Node/ScalarTypeDefinitionNode.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 namespace Digia\GraphQL\Language\Node;
4 4
 
5 5
 class ScalarTypeDefinitionNode extends AbstractNode implements TypeDefinitionNodeInterface, DirectivesAwareInterface,
6
-  NameAwareInterface
6
+    NameAwareInterface
7 7
 {
8 8
 
9 9
     use DescriptionTrait;
@@ -21,11 +21,11 @@  discard block
 block discarded – undo
21 21
     public function toArray(): array
22 22
     {
23 23
         return [
24
-          'kind' => $this->kind,
25
-          'description' => $this->getDescriptionAsArray(),
26
-          'name' => $this->getNameAsArray(),
27
-          'directives' => $this->getDirectivesAsArray(),
28
-          'loc' => $this->getLocationAsArray(),
24
+            'kind' => $this->kind,
25
+            'description' => $this->getDescriptionAsArray(),
26
+            'name' => $this->getNameAsArray(),
27
+            'directives' => $this->getDirectivesAsArray(),
28
+            'loc' => $this->getLocationAsArray(),
29 29
         ];
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
src/Language/Node/FieldNode.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
 namespace Digia\GraphQL\Language\Node;
4 4
 
5 5
 class FieldNode extends AbstractNode implements SelectionNodeInterface, ArgumentsAwareInterface,
6
-  DirectivesAwareInterface, NameAwareInterface
6
+    DirectivesAwareInterface, NameAwareInterface
7 7
 {
8 8
 
9 9
     use AliasTrait;
@@ -23,13 +23,13 @@  discard block
 block discarded – undo
23 23
     public function toArray(): array
24 24
     {
25 25
         return [
26
-          'kind' => $this->kind,
27
-          'loc' => $this->getLocationAsArray(),
28
-          'alias' => $this->getAliasAsArray(),
29
-          'name' => $this->getNameAsArray(),
30
-          'arguments' => $this->getArgumentsAsArray(),
31
-          'directives' => $this->getDirectivesAsArray(),
32
-          'selectionSet' => $this->getSelectionSetAsArray(),
26
+            'kind' => $this->kind,
27
+            'loc' => $this->getLocationAsArray(),
28
+            'alias' => $this->getAliasAsArray(),
29
+            'name' => $this->getNameAsArray(),
30
+            'arguments' => $this->getArgumentsAsArray(),
31
+            'directives' => $this->getDirectivesAsArray(),
32
+            'selectionSet' => $this->getSelectionSetAsArray(),
33 33
         ];
34 34
     }
35 35
 }
Please login to merge, or discard this patch.