@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function getArgumentsAsArray(): array |
| 28 | 28 | { |
| 29 | - return array_map(function (SerializationInterface $node) { |
|
| 29 | + return array_map(function(SerializationInterface $node) { |
|
| 30 | 30 | return $node->toArray(); |
| 31 | 31 | }, $this->arguments); |
| 32 | 32 | } |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | */ |
| 34 | 34 | public function getOperationTypesAsArray(): array |
| 35 | 35 | { |
| 36 | - return array_map(function (SerializationInterface $node) { |
|
| 36 | + return array_map(function(SerializationInterface $node) { |
|
| 37 | 37 | return $node->toArray(); |
| 38 | 38 | }, $this->operationTypes); |
| 39 | 39 | } |
@@ -439,7 +439,7 @@ discard block |
||
| 439 | 439 | * @return mixed |
| 440 | 440 | * @throws GraphQLError |
| 441 | 441 | */ |
| 442 | - $parseType = function (LexerInterface $lexer) { |
|
| 442 | + $parseType = function(LexerInterface $lexer) { |
|
| 443 | 443 | $this->expect($lexer, TokenKindEnum::COLON); |
| 444 | 444 | return $this->parseTypeReference($lexer); |
| 445 | 445 | }; |
@@ -569,7 +569,7 @@ discard block |
||
| 569 | 569 | * @return mixed |
| 570 | 570 | * @throws GraphQLError |
| 571 | 571 | */ |
| 572 | - $parseValue = function (LexerInterface $lexer) { |
|
| 572 | + $parseValue = function(LexerInterface $lexer) { |
|
| 573 | 573 | $this->expect($lexer, TokenKindEnum::COLON); |
| 574 | 574 | return $this->parseValueLiteral($lexer, false); |
| 575 | 575 | }; |
@@ -596,7 +596,7 @@ discard block |
||
| 596 | 596 | * @return mixed |
| 597 | 597 | * @throws GraphQLError |
| 598 | 598 | */ |
| 599 | - $parseValue = function (LexerInterface $lexer) { |
|
| 599 | + $parseValue = function(LexerInterface $lexer) { |
|
| 600 | 600 | $this->expect($lexer, TokenKindEnum::COLON); |
| 601 | 601 | return $this->parseConstValue($lexer); |
| 602 | 602 | }; |
@@ -657,7 +657,7 @@ discard block |
||
| 657 | 657 | |
| 658 | 658 | $this->expectKeyword($lexer, KeywordEnum::FRAGMENT); |
| 659 | 659 | |
| 660 | - $parseTypeCondition = function (LexerInterface $lexer) { |
|
| 660 | + $parseTypeCondition = function(LexerInterface $lexer) { |
|
| 661 | 661 | $this->expectKeyword($lexer, 'on'); |
| 662 | 662 | return $this->parseNamedType($lexer); |
| 663 | 663 | }; |
@@ -854,7 +854,7 @@ discard block |
||
| 854 | 854 | { |
| 855 | 855 | $start = $lexer->getToken(); |
| 856 | 856 | |
| 857 | - $parseValue = function (LexerInterface $lexer, bool $isConst) { |
|
| 857 | + $parseValue = function(LexerInterface $lexer, bool $isConst) { |
|
| 858 | 858 | $this->expect($lexer, TokenKindEnum::COLON); |
| 859 | 859 | return $this->parseValueLiteral($lexer, $isConst); |
| 860 | 860 | }; |