@@ -3,7 +3,7 @@ discard block |
||
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 |
||
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 | } |
@@ -3,7 +3,7 @@ |
||
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; |
@@ -18,9 +18,9 @@ |
||
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 | } |
@@ -19,10 +19,10 @@ |
||
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 | } |
@@ -18,9 +18,9 @@ |
||
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 | } |
@@ -20,11 +20,11 @@ |
||
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 | } |
@@ -20,11 +20,11 @@ |
||
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 | } |
@@ -3,7 +3,7 @@ discard block |
||
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 |
||
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 | } |
@@ -18,9 +18,9 @@ |
||
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 | } |