Completed
Pull Request — master (#204)
by Ryan
11:34
created
src/Parser/Parser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /*
14 14
  * This file is a part of graphql-youshido project.
15 15
  *
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
 
243 243
     protected function findVariable($name)
244 244
     {
245
-        foreach ((array) $this->data['variables'] as $variable) {
245
+        foreach ((array)$this->data['variables'] as $variable) {
246 246
             /** @var $variable Variable */
247 247
             if ($variable->getName() === $name) {
248 248
                 return $variable;
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
 
482 482
     protected function matchMulti($types)
483 483
     {
484
-        foreach ((array) $types as $type) {
484
+        foreach ((array)$types as $type) {
485 485
             if ($this->peek()->getType() === $type) {
486 486
                 return true;
487 487
             }
Please login to merge, or discard this patch.
src/Parser/Ast/ArgumentValue/Variable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 23.11.15.
15 15
  */
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
                 return $this->defaultValue;
81 81
             }
82 82
 
83
-            throw new \LogicException('Value is not set for variable "' . $this->name . '"');
83
+            throw new \LogicException('Value is not set for variable "'.$this->name.'"');
84 84
         }
85 85
 
86 86
         return $this->value;
Please login to merge, or discard this patch.
src/Parser/Ast/ArgumentValue/InputList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 01.12.15.
15 15
  */
Please login to merge, or discard this patch.
src/Parser/Ast/ArgumentValue/Literal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 23.11.15.
15 15
  */
Please login to merge, or discard this patch.
src/Parser/Ast/ArgumentValue/InputObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 01.12.15.
15 15
  */
Please login to merge, or discard this patch.
src/Parser/Ast/ArgumentValue/VariableReference.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 10/24/16.
15 15
  */
Please login to merge, or discard this patch.
src/Parser/Ast/AstArgumentsTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /*
14 14
  * This file is a part of GraphQL project.
15 15
  *
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     public function hasArguments()
30 30
     {
31
-        return (bool) \count($this->arguments);
31
+        return (bool)\count($this->arguments);
32 32
     }
33 33
 
34 34
     public function hasArgument($name)
Please login to merge, or discard this patch.
src/Parser/Ast/AbstractAst.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 16.11.16.
15 15
  */
Please login to merge, or discard this patch.
src/Parser/Ast/Mutation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * http://opensource.org/licenses/MIT
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 /**
14 14
  * Date: 20.11.15.
15 15
  */
Please login to merge, or discard this patch.