@@ -37,7 +37,7 @@ |
||
37 | 37 | */ |
38 | 38 | public function getFieldsAST(): array |
39 | 39 | { |
40 | - return \array_map(function (ObjectFieldNode $node) { |
|
40 | + return \array_map(function(ObjectFieldNode $node) { |
|
41 | 41 | return $node->toAST(); |
42 | 42 | }, $this->fields); |
43 | 43 | } |
@@ -41,7 +41,7 @@ |
||
41 | 41 | */ |
42 | 42 | public function getOperationTypesAST(): array |
43 | 43 | { |
44 | - return \array_map(function (OperationTypeDefinitionNode $node) { |
|
44 | + return \array_map(function(OperationTypeDefinitionNode $node) { |
|
45 | 45 | return $node->toAST(); |
46 | 46 | }, $this->operationTypes); |
47 | 47 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function getFieldsAST(): array |
32 | 32 | { |
33 | - return \array_map(function (FieldDefinitionNode $node) { |
|
33 | + return \array_map(function(FieldDefinitionNode $node) { |
|
34 | 34 | return $node->toAST(); |
35 | 35 | }, $this->fields); |
36 | 36 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function getDirectivesAST(): array |
32 | 32 | { |
33 | - return \array_map(function (DirectiveNode $directive) { |
|
33 | + return \array_map(function(DirectiveNode $directive) { |
|
34 | 34 | return $directive->toAST(); |
35 | 35 | }, $this->directives); |
36 | 36 | } |
@@ -37,7 +37,7 @@ |
||
37 | 37 | */ |
38 | 38 | public function getSelectionsAST(): array |
39 | 39 | { |
40 | - return \array_map(function (SelectionNodeInterface $node) { |
|
40 | + return \array_map(function(SelectionNodeInterface $node) { |
|
41 | 41 | return $node->toAST(); |
42 | 42 | }, $this->selections); |
43 | 43 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function getTypesAST(): array |
32 | 32 | { |
33 | - return \array_map(function (NamedTypeNode $node) { |
|
33 | + return \array_map(function(NamedTypeNode $node) { |
|
34 | 34 | return $node->toAST(); |
35 | 35 | }, $this->types); |
36 | 36 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function getValuesAST(): array |
32 | 32 | { |
33 | - return \array_map(function (EnumValueDefinitionNode $node) { |
|
33 | + return \array_map(function(EnumValueDefinitionNode $node) { |
|
34 | 34 | return $node->toAST(); |
35 | 35 | }, $this->values); |
36 | 36 | } |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | */ |
38 | 38 | public function getValuesAST(): array |
39 | 39 | { |
40 | - return \array_map(function (ValueNodeInterface $node) { |
|
40 | + return \array_map(function(ValueNodeInterface $node) { |
|
41 | 41 | return $node->toAST(); |
42 | 42 | }, $this->values); |
43 | 43 | } |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | */ |
70 | 70 | public function __toString(): string |
71 | 71 | { |
72 | - return \json_encode(\array_map(function (ValueAwareInterface $node) { |
|
72 | + return \json_encode(\array_map(function(ValueAwareInterface $node) { |
|
73 | 73 | return $node->getValue(); |
74 | 74 | }, $this->getValues())); |
75 | 75 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public function getArgumentsAST(): array |
32 | 32 | { |
33 | - return \array_map(function (ArgumentNode $node) { |
|
33 | + return \array_map(function(ArgumentNode $node) { |
|
34 | 34 | return $node->toAST(); |
35 | 35 | }, $this->getArguments()); |
36 | 36 | } |