@@ -49,7 +49,7 @@ |
||
| 49 | 49 | /** @var Directive $directiveDefinition */ |
| 50 | 50 | $directiveDefinition = find( |
| 51 | 51 | $this->context->getSchema()->getDirectives(), |
| 52 | - function (Directive $definition) use ($node) { |
|
| 52 | + function(Directive $definition) use ($node) { |
|
| 53 | 53 | return $definition->getName() === $node->getNameValue(); |
| 54 | 54 | } |
| 55 | 55 | ); |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | protected function enterDocument(DocumentNode $node): ?NodeInterface |
| 28 | 28 | { |
| 29 | - $this->operationCount = \count(\array_filter($node->getDefinitions(), function ($definition) { |
|
| 29 | + $this->operationCount = \count(\array_filter($node->getDefinitions(), function($definition) { |
|
| 30 | 30 | return $definition instanceof OperationDefinitionNode; |
| 31 | 31 | })); |
| 32 | 32 | |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | |
| 102 | 102 | $this->context->reportError( |
| 103 | 103 | new ValidationException( |
| 104 | - fragmentCycleMessage($spreadName, \array_map(function (FragmentSpreadNode $spread) { |
|
| 104 | + fragmentCycleMessage($spreadName, \array_map(function(FragmentSpreadNode $spread) { |
|
| 105 | 105 | return $spread->getNameValue(); |
| 106 | 106 | }, $cyclePath)), |
| 107 | 107 | \array_merge($cyclePath, [$spreadNode]) |