Passed
Pull Request — master (#190)
by Sebastian
03:03
created
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/ArgumentNode.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
     public function toArray(): array
20 20
     {
21 21
         return [
22
-          'kind' => $this->kind,
23
-          'name' => $this->getNameAsArray(),
24
-          'value' => $this->getValueAsArray(),
25
-          'loc' => $this->getLocationAsArray(),
22
+            'kind' => $this->kind,
23
+            'name' => $this->getNameAsArray(),
24
+            'value' => $this->getValueAsArray(),
25
+            'loc' => $this->getLocationAsArray(),
26 26
         ];
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
src/Language/Node/ListTypeNode.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
-          'type' => $this->getTypeAsArray(),
23
-          'loc' => $this->getLocationAsArray(),
21
+            'kind' => $this->kind,
22
+            'type' => $this->getTypeAsArray(),
23
+            'loc' => $this->getLocationAsArray(),
24 24
         ];
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/Language/Node/EnumValueDefinitionNode.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
-          'description' => $this->getDescriptionAsArray(),
25
-          'name' => $this->getNameAsArray(),
26
-          'directives' => $this->getDirectivesAsArray(),
27
-          'loc' => $this->getLocationAsArray(),
23
+            'kind' => $this->kind,
24
+            'description' => $this->getDescriptionAsArray(),
25
+            'name' => $this->getNameAsArray(),
26
+            'directives' => $this->getDirectivesAsArray(),
27
+            'loc' => $this->getLocationAsArray(),
28 28
         ];
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
src/Language/Node/UnionTypeExtensionNode.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
-          'types' => $this->getTypesAsArray(),
27
-          'loc' => $this->getLocationAsArray(),
23
+            'kind' => $this->kind,
24
+            'name' => $this->getNameAsArray(),
25
+            'directives' => $this->getDirectivesAsArray(),
26
+            'types' => $this->getTypesAsArray(),
27
+            'loc' => $this->getLocationAsArray(),
28 28
         ];
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
src/Language/Node/InputObjectTypeDefinitionNode.php 1 patch
Indentation   +7 added lines, -7 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 InputObjectTypeDefinitionNode extends AbstractNode implements TypeDefinitionNodeInterface,
6
-  DirectivesAwareInterface, NameAwareInterface
6
+    DirectivesAwareInterface, NameAwareInterface
7 7
 {
8 8
 
9 9
     use DescriptionTrait;
@@ -22,12 +22,12 @@  discard block
 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
-          'directives' => $this->getDirectivesAsArray(),
29
-          'fields' => $this->getFieldsAsArray(),
30
-          'loc' => $this->getLocationAsArray(),
25
+            'kind' => $this->kind,
26
+            'description' => $this->getDescriptionAsArray(),
27
+            'name' => $this->getNameAsArray(),
28
+            'directives' => $this->getDirectivesAsArray(),
29
+            'fields' => $this->getFieldsAsArray(),
30
+            'loc' => $this->getLocationAsArray(),
31 31
         ];
32 32
     }
33 33
 }
Please login to merge, or discard this patch.
src/Language/Node/FloatValueNode.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
-          'loc' => $this->getLocationAsArray(),
23
-          'value' => $this->value,
21
+            'kind' => $this->kind,
22
+            'loc' => $this->getLocationAsArray(),
23
+            'value' => $this->value,
24 24
         ];
25 25
     }
26 26
 }
Please login to merge, or discard this patch.