Passed
Pull Request — master (#190)
by Sebastian
03:03
created
src/Language/Node/InputValueDefinitionNode.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 InputValueDefinitionNode extends AbstractNode implements DefinitionNodeInterface, DirectivesAwareInterface,
6
-  NameAwareInterface
6
+    NameAwareInterface
7 7
 {
8 8
 
9 9
     use DescriptionTrait;
@@ -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
-          'description' => $this->getDescriptionAsArray(),
28
-          'name' => $this->getNameAsArray(),
29
-          'type' => $this->getTypeAsArray(),
30
-          'defaultValue' => $this->getDefaultValueAsArray(),
31
-          'directives' => $this->getDirectivesAsArray(),
32
-          'loc' => $this->getLocationAsArray(),
26
+            'kind' => $this->kind,
27
+            'description' => $this->getDescriptionAsArray(),
28
+            'name' => $this->getNameAsArray(),
29
+            'type' => $this->getTypeAsArray(),
30
+            'defaultValue' => $this->getDefaultValueAsArray(),
31
+            'directives' => $this->getDirectivesAsArray(),
32
+            'loc' => $this->getLocationAsArray(),
33 33
         ];
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
src/Language/Node/DocumentNode.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@
 block discarded – undo
42 42
     public function toArray(): array
43 43
     {
44 44
         return [
45
-          'kind' => $this->kind,
46
-          'definitions' => $this->getDefinitionsAsArray(),
47
-          'loc' => $this->getLocationAsArray(),
45
+            'kind' => $this->kind,
46
+            'definitions' => $this->getDefinitionsAsArray(),
47
+            'loc' => $this->getLocationAsArray(),
48 48
         ];
49 49
     }
50 50
 
Please login to merge, or discard this patch.
src/Language/Node/BooleanValueNode.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
-          'value' => $this->value,
23
-          'loc' => $this->getLocationAsArray(),
21
+            'kind' => $this->kind,
22
+            'value' => $this->value,
23
+            'loc' => $this->getLocationAsArray(),
24 24
         ];
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/Language/Node/AbstractNode.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,8 @@
 block discarded – undo
51 51
         // TODO: Remove this method when every node implement its own toArray-method.
52 52
 
53 53
         return [
54
-          'kind' => $this->kind,
55
-          'loc' => $this->getLocationAsArray(),
54
+            'kind' => $this->kind,
55
+            'loc' => $this->getLocationAsArray(),
56 56
         ];
57 57
     }
58 58
 
Please login to merge, or discard this patch.
src/Language/Node/InterfaceTypeExtensionNode.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@
 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
-          'fields' => $this->getFieldsAsArray(),
27
-          'loc' => $this->getLocationAsArray(),
23
+            'kind' => $this->kind,
24
+            'name' => $this->getNameAsArray(),
25
+            'directives' => $this->getDirectivesAsArray(),
26
+            'fields' => $this->getFieldsAsArray(),
27
+            'loc' => $this->getLocationAsArray(),
28 28
         ];
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
src/Language/Node/InputObjectTypeExtensionNode.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 InputObjectTypeExtensionNode extends AbstractNode implements TypeExtensionNodeInterface,
6
-  DirectivesAwareInterface, NameAwareInterface
6
+    DirectivesAwareInterface, NameAwareInterface
7 7
 {
8 8
 
9 9
     use NameTrait;
@@ -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
-          'name' => $this->getNameAsArray(),
26
-          'directives' => $this->getDirectivesAsArray(),
27
-          'fields' => $this->getFieldsAsArray(),
28
-          'loc' => $this->getLocationAsArray(),
24
+            'kind' => $this->kind,
25
+            'name' => $this->getNameAsArray(),
26
+            'directives' => $this->getDirectivesAsArray(),
27
+            'fields' => $this->getFieldsAsArray(),
28
+            'loc' => $this->getLocationAsArray(),
29 29
         ];
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
src/Language/Node/FragmentDefinitionNode.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 namespace Digia\GraphQL\Language\Node;
4 4
 
5 5
 class FragmentDefinitionNode extends AbstractNode implements ExecutableDefinitionNodeInterface,
6
-  DirectivesAwareInterface, NameAwareInterface
6
+    DirectivesAwareInterface, NameAwareInterface
7 7
 {
8 8
 
9 9
     use NameTrait;
Please login to merge, or discard this patch.
src/Language/Node/NameNode.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
-          'value' => $this->value,
23
-          'loc' => $this->getLocationAsArray(),
21
+            'kind' => $this->kind,
22
+            'value' => $this->value,
23
+            'loc' => $this->getLocationAsArray(),
24 24
         ];
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/Language/Node/SelectionSetNode.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@
 block discarded – undo
42 42
     public function toArray(): array
43 43
     {
44 44
         return [
45
-          'kind' => $this->kind,
46
-          'loc' => $this->getLocationAsArray(),
47
-          'selections' => $this->getSelectionsAsArray(),
45
+            'kind' => $this->kind,
46
+            'loc' => $this->getLocationAsArray(),
47
+            'selections' => $this->getSelectionsAsArray(),
48 48
         ];
49 49
     }
50 50
 
Please login to merge, or discard this patch.