Completed
Push — master ( bd3178...998f3f )
by Christoffer
04:52 queued 02:42
created
src/Language/AST/Node/InputArgumentsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Language/AST/Node/SchemaDefinitionNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Language/Parser.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -439,7 +439,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         };
Please login to merge, or discard this patch.