@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | */ |
| 120 | 120 | public function buildTypes(): array |
| 121 | 121 | { |
| 122 | - return \array_map(function (TypeDefinitionNodeInterface $definition) { |
|
| 122 | + return \array_map(function(TypeDefinitionNodeInterface $definition) { |
|
| 123 | 123 | return $this->definitionBuilder->buildType($definition); |
| 124 | 124 | }, \array_values($this->typeDefinitionMap)); |
| 125 | 125 | } |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | */ |
| 130 | 130 | public function buildDirectives(): array |
| 131 | 131 | { |
| 132 | - $directives = \array_map(function (DirectiveDefinitionNode $definition) { |
|
| 132 | + $directives = \array_map(function(DirectiveDefinitionNode $definition) { |
|
| 133 | 133 | return $this->definitionBuilder->buildDirective($definition); |
| 134 | 134 | }, $this->directiveDefinitions); |
| 135 | 135 | |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | ]; |
| 141 | 141 | |
| 142 | 142 | foreach ($specifiedDirectivesMap as $name => $directive) { |
| 143 | - if (!arraySome($directives, function (Directive $directive) use ($name) { |
|
| 143 | + if (!arraySome($directives, function(Directive $directive) use ($name) { |
|
| 144 | 144 | return $directive->getName() === $name; |
| 145 | 145 | })) { |
| 146 | 146 | $directives[] = $directive; |