Completed
Pull Request — master (#46)
by Sam
02:54
created
src/Provider/SchemaBuilderProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     {
30 30
         $this->container->add(DefinitionBuilderInterface::class, DefinitionBuilder::class, true/* $shared */)
31 31
             ->withArguments([
32
-                function (NamedTypeNode $node) {
32
+                function(NamedTypeNode $node) {
33 33
                     throw new InvalidTypeException(sprintf('Type "%s" not found in document.', $node->getNameValue()));
34 34
                 },
35 35
                 CacheInterface::class,
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
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
          * @return mixed
435 435
          * @throws SyntaxErrorException
436 436
          */
437
-        $parseType = function (LexerInterface $lexer) {
437
+        $parseType = function(LexerInterface $lexer) {
438 438
             $this->expect($lexer, TokenKindEnum::COLON);
439 439
             return $this->parseTypeReference($lexer);
440 440
         };
@@ -564,7 +564,7 @@  discard block
 block discarded – undo
564 564
          * @return mixed
565 565
          * @throws SyntaxErrorException
566 566
          */
567
-        $parseValue = function (LexerInterface $lexer) {
567
+        $parseValue = function(LexerInterface $lexer) {
568 568
             $this->expect($lexer, TokenKindEnum::COLON);
569 569
             return $this->parseValueLiteral($lexer, false);
570 570
         };
@@ -591,7 +591,7 @@  discard block
 block discarded – undo
591 591
          * @return mixed
592 592
          * @throws SyntaxErrorException
593 593
          */
594
-        $parseValue = function (LexerInterface $lexer) {
594
+        $parseValue = function(LexerInterface $lexer) {
595 595
             $this->expect($lexer, TokenKindEnum::COLON);
596 596
             return $this->parseConstValue($lexer);
597 597
         };
@@ -652,7 +652,7 @@  discard block
 block discarded – undo
652 652
 
653 653
         $this->expectKeyword($lexer, KeywordEnum::FRAGMENT);
654 654
 
655
-        $parseTypeCondition = function (LexerInterface $lexer) {
655
+        $parseTypeCondition = function(LexerInterface $lexer) {
656 656
             $this->expectKeyword($lexer, 'on');
657 657
             return $this->parseNamedType($lexer);
658 658
         };
@@ -848,7 +848,7 @@  discard block
 block discarded – undo
848 848
     {
849 849
         $start = $lexer->getToken();
850 850
 
851
-        $parseValue = function (LexerInterface $lexer, bool $isConst) {
851
+        $parseValue = function(LexerInterface $lexer, bool $isConst) {
852 852
             $this->expect($lexer, TokenKindEnum::COLON);
853 853
             return $this->parseValueLiteral($lexer, $isConst);
854 854
         };
Please login to merge, or discard this patch.