Completed
Pull Request — master (#64)
by Christoffer
02:20
created
src/Validation/Rule/LoneAnonymousOperationRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function enterNode(NodeInterface $node): ?NodeInterface
21 21
     {
22 22
         if ($node instanceof DocumentNode) {
23
-            $this->operationCount = \count(array_filter($node->getDefinitions(), function ($definition) {
23
+            $this->operationCount = \count(array_filter($node->getDefinitions(), function($definition) {
24 24
                 return $definition instanceof OperationDefinitionNode;
25 25
             }));
26 26
         }
Please login to merge, or discard this patch.