Passed
Pull Request — master (#185)
by Christoffer
02:46
created
src/Language/ASTBuilder.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Language/LanguageProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.