@@ -129,7 +129,7 @@  | 
                                                    ||
| 129 | 129 |  { | 
                                                        
| 130 | 130 | return arraySome(  | 
                                                        
| 131 | 131 | specifiedDirectives(),  | 
                                                        
| 132 | -        function (DirectiveInterface $specifiedDirective) use ($directive) { | 
                                                        |
| 132 | +        function(DirectiveInterface $specifiedDirective) use ($directive) { | 
                                                        |
| 133 | 133 | return $specifiedDirective->getName() === $directive->getName();  | 
                                                        
| 134 | 134 | }  | 
                                                        
| 135 | 135 | );  | 
                                                        
@@ -53,7 +53,7 @@  | 
                                                    ||
| 53 | 53 |              if ($code === 92) { | 
                                                        
| 54 | 54 | // \  | 
                                                        
| 55 | 55 | $value .= sliceString($body, $chunkStart, $pos + 1);  | 
                                                        
| 56 | - $code = charCodeAt($body, $pos);  | 
                                                        |
| 56 | + $code = charCodeAt($body, $pos);  | 
                                                        |
| 57 | 57 | |
| 58 | 58 |                  switch ($code) { | 
                                                        
| 59 | 59 | case 34:  | 
                                                        
@@ -59,7 +59,7 @@  | 
                                                    ||
| 59 | 59 | */  | 
                                                        
| 60 | 60 | public function getMultiple($keys, $default = null)  | 
                                                        
| 61 | 61 |      { | 
                                                        
| 62 | -        return array_filter($this->cache, function ($key) use ($keys) { | 
                                                        |
| 62 | +        return array_filter($this->cache, function($key) use ($keys) { | 
                                                        |
| 63 | 63 | return \in_array($key, $keys, true);  | 
                                                        
| 64 | 64 | }, ARRAY_FILTER_USE_KEY);  | 
                                                        
| 65 | 65 | }  | 
                                                        
@@ -72,7 +72,7 @@  | 
                                                    ||
| 72 | 72 |  { | 
                                                        
| 73 | 73 | return arraySome(  | 
                                                        
| 74 | 74 | specifiedScalarTypes(),  | 
                                                        
| 75 | -        function (ScalarType $specifiedScalarType) use ($type) { | 
                                                        |
| 75 | +        function(ScalarType $specifiedScalarType) use ($type) { | 
                                                        |
| 76 | 76 | /** @noinspection PhpUndefinedMethodInspection */  | 
                                                        
| 77 | 77 | return $type->getName() === $specifiedScalarType->getName();  | 
                                                        
| 78 | 78 | }  | 
                                                        
@@ -78,7 +78,7 @@  | 
                                                    ||
| 78 | 78 | $this->schema = $schema;  | 
                                                        
| 79 | 79 | $this->getFieldDefinitionFunction = null !== $getFieldDefinitionFunction  | 
                                                        
| 80 | 80 | ? $getFieldDefinitionFunction  | 
                                                        
| 81 | -            : function (SchemaInterface $schema, TypeInterface $parentType, FieldNode $fieldNode) { | 
                                                        |
| 81 | +            : function(SchemaInterface $schema, TypeInterface $parentType, FieldNode $fieldNode) { | 
                                                        |
| 82 | 82 | return getFieldDefinition($schema, $parentType, $fieldNode);  | 
                                                        
| 83 | 83 | };  | 
                                                        
| 84 | 84 | |
@@ -59,7 +59,7 @@  | 
                                                    ||
| 59 | 59 |          preg_match_all("/\r\n|[\n\r]/", mb_substr($source->getBody(), 0, $position), $matches, PREG_OFFSET_CAPTURE); | 
                                                        
| 60 | 60 | |
| 61 | 61 |          foreach ($matches[0] as $index => $match) { | 
                                                        
| 62 | - $line += 1;  | 
                                                        |
| 62 | + $line += 1;  | 
                                                        |
| 63 | 63 | $column = $position + 1 - ($match[1] + mb_strlen($match[0]));  | 
                                                        
| 64 | 64 | }  | 
                                                        
| 65 | 65 | |
@@ -143,7 +143,7 @@ discard block  | 
                                                    ||
| 143 | 143 | public function getFragment(string $name): ?FragmentDefinitionNode  | 
                                                        
| 144 | 144 |      { | 
                                                        
| 145 | 145 |          if (empty($this->fragments)) { | 
                                                        
| 146 | -            $this->fragments = array_reduce($this->document->getDefinitions(), function ($fragments, $definition) { | 
                                                        |
| 146 | +            $this->fragments = array_reduce($this->document->getDefinitions(), function($fragments, $definition) { | 
                                                        |
| 147 | 147 |                  if ($definition instanceof FragmentDefinitionNode) { | 
                                                        
| 148 | 148 | $fragments[$definition->getNameValue()] = $definition;  | 
                                                        
| 149 | 149 | }  | 
                                                        
@@ -221,7 +221,7 @@ discard block  | 
                                                    ||
| 221 | 221 | $usages = [];  | 
                                                        
| 222 | 222 | $typeInfo = new TypeInfo($this->schema);  | 
                                                        
| 223 | 223 | $visitor = new TypeInfoVisitor($typeInfo, new Visitor(  | 
                                                        
| 224 | -                function (NodeInterface $node) use (&$usages, $typeInfo): ?NodeInterface { | 
                                                        |
| 224 | +                function(NodeInterface $node) use (&$usages, $typeInfo): ?NodeInterface { | 
                                                        |
| 225 | 225 |                      if ($node instanceof VariableDefinitionNode) { | 
                                                        
| 226 | 226 | return null;  | 
                                                        
| 227 | 227 | }  | 
                                                        
@@ -16,8 +16,8 @@  | 
                                                    ||
| 16 | 16 | return false;  | 
                                                        
| 17 | 17 | }  | 
                                                        
| 18 | 18 | |
| 19 | -    return arrayEvery($argumentsA, function (ArgumentNode $argumentA) use ($argumentsB) { | 
                                                        |
| 20 | -        $argumentB = find($argumentsB, function (ArgumentNode $argument) use ($argumentA) { | 
                                                        |
| 19 | +    return arrayEvery($argumentsA, function(ArgumentNode $argumentA) use ($argumentsB) { | 
                                                        |
| 20 | +        $argumentB = find($argumentsB, function(ArgumentNode $argument) use ($argumentA) { | 
                                                        |
| 21 | 21 | return $argument->getNameValue() === $argumentA->getNameValue();  | 
                                                        
| 22 | 22 | });  | 
                                                        
| 23 | 23 | |
@@ -36,7 +36,7 @@  | 
                                                    ||
| 36 | 36 | */  | 
                                                        
| 37 | 37 | protected function printNodes(array $nodes): array  | 
                                                        
| 38 | 38 |      { | 
                                                        
| 39 | -        return array_map(function ($node) { | 
                                                        |
| 39 | +        return array_map(function($node) { | 
                                                        |
| 40 | 40 | return $this->printer->print($node);  | 
                                                        
| 41 | 41 | }, $nodes);  | 
                                                        
| 42 | 42 | }  |