@@ -125,7 +125,7 @@ discard block |
||
125 | 125 | * @return mixed |
126 | 126 | * @throws SyntaxErrorException |
127 | 127 | */ |
128 | - $buildValue = function (LexerInterface $lexer) { |
|
128 | + $buildValue = function(LexerInterface $lexer) { |
|
129 | 129 | $this->expect($lexer, TokenKindEnum::COLON); |
130 | 130 | return $this->buildValueLiteral($lexer); |
131 | 131 | }; |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | * @return mixed |
153 | 153 | * @throws SyntaxErrorException |
154 | 154 | */ |
155 | - $buildValue = function (LexerInterface $lexer) { |
|
155 | + $buildValue = function(LexerInterface $lexer) { |
|
156 | 156 | $this->expect($lexer, TokenKindEnum::COLON); |
157 | 157 | return $this->buildValueLiteral($lexer); |
158 | 158 | }; |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | */ |
173 | 173 | protected function buildArgumentsDefinition(LexerInterface $lexer): ?array |
174 | 174 | { |
175 | - $buildFunction = function (LexerInterface $lexer): array { |
|
175 | + $buildFunction = function(LexerInterface $lexer): array { |
|
176 | 176 | return $this->buildInputValueDefinition($lexer); |
177 | 177 | }; |
178 | 178 | |
@@ -640,7 +640,7 @@ discard block |
||
640 | 640 | |
641 | 641 | $this->expectKeyword($lexer, KeywordEnum::FRAGMENT); |
642 | 642 | |
643 | - $buildTypeCondition = function (LexerInterface $lexer) { |
|
643 | + $buildTypeCondition = function(LexerInterface $lexer) { |
|
644 | 644 | $this->expectKeyword($lexer, 'on'); |
645 | 645 | return $this->buildNamedType($lexer); |
646 | 646 | }; |
@@ -700,7 +700,7 @@ discard block |
||
700 | 700 | */ |
701 | 701 | protected function buildInputFieldsDefinition(LexerInterface $lexer): ?array |
702 | 702 | { |
703 | - $buildFunction = function (LexerInterface $lexer): array { |
|
703 | + $buildFunction = function(LexerInterface $lexer): array { |
|
704 | 704 | return $this->buildInputValueDefinition($lexer); |
705 | 705 | }; |
706 | 706 | |
@@ -1357,7 +1357,7 @@ discard block |
||
1357 | 1357 | { |
1358 | 1358 | $start = $lexer->getToken(); |
1359 | 1359 | |
1360 | - $buildValue = function (LexerInterface $lexer, bool $isConst) { |
|
1360 | + $buildValue = function(LexerInterface $lexer, bool $isConst) { |
|
1361 | 1361 | $this->expect($lexer, TokenKindEnum::COLON); |
1362 | 1362 | |
1363 | 1363 | return $this->buildValueLiteral($lexer, $isConst); |
@@ -1415,7 +1415,7 @@ discard block |
||
1415 | 1415 | * @return mixed |
1416 | 1416 | * @throws SyntaxErrorException |
1417 | 1417 | */ |
1418 | - $buildType = function (LexerInterface $lexer) { |
|
1418 | + $buildType = function(LexerInterface $lexer) { |
|
1419 | 1419 | $this->expect($lexer, TokenKindEnum::COLON); |
1420 | 1420 | |
1421 | 1421 | return $this->buildTypeReference($lexer); |
@@ -31,7 +31,7 @@ |
||
31 | 31 | ->withArgument(ASTBuilderInterface::class) |
32 | 32 | ->withArgument(NodeBuilderInterface::class); |
33 | 33 | |
34 | - $this->container->add(LexerInterface::class, function () { |
|
34 | + $this->container->add(LexerInterface::class, function() { |
|
35 | 35 | return new Lexer(SupportedReaders::get()); |
36 | 36 | }); |
37 | 37 |