@@ -9,7 +9,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |
@@ -9,7 +9,7 @@ discard block |
||
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 |
||
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; |
@@ -9,7 +9,7 @@ |
||
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 | */ |
@@ -9,7 +9,7 @@ |
||
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 | */ |
@@ -9,7 +9,7 @@ |
||
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 | */ |
@@ -9,7 +9,7 @@ |
||
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 | */ |
@@ -9,7 +9,7 @@ discard block |
||
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 |
||
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) |
@@ -9,7 +9,7 @@ |
||
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 | */ |
@@ -9,7 +9,7 @@ |
||
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 | */ |