@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Adapters\Webonyx; |
11 | 11 | |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | { |
65 | 65 | $name = $definition->getName(); |
66 | 66 | |
67 | - if (! \array_key_exists($name, $this->types)) { |
|
67 | + if (!\array_key_exists($name, $this->types)) { |
|
68 | 68 | $this->types[$name] = $this->build($definition); |
69 | 69 | } |
70 | 70 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Adapters\Webonyx\Builders; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Adapters\Webonyx\Builders; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Adapters\Webonyx\Builders; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Adapters\Webonyx\Builders; |
11 | 11 |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Adapters\Webonyx; |
11 | 11 |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Adapters\Webonyx; |
11 | 11 | |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | $passed = $this->isPassedArgument($argument, $input); |
152 | 152 | |
153 | 153 | // No passed value No default value Required (not null) |
154 | - return ! $passed && ! $argument->hasDefaultValue() && $argument->isNonNull(); |
|
154 | + return !$passed && !$argument->hasDefaultValue() && $argument->isNonNull(); |
|
155 | 155 | } |
156 | 156 | |
157 | 157 | /** |
@@ -5,7 +5,7 @@ |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Adapters\Webonyx\Builders; |
11 | 11 |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace Railt\Adapters\Webonyx\Builders; |
11 | 11 | |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | return new ObjectType([ |
29 | 29 | 'name' => $this->reflection->getName(), |
30 | 30 | 'description' => $this->reflection->getDescription(), |
31 | - 'fields' => function (): array { |
|
31 | + 'fields' => function(): array { |
|
32 | 32 | return FieldBuilder::buildFields($this->reflection, $this->getRegistry(), $this->events); |
33 | 33 | }, |
34 | 34 | 'interfaces' => $this->buildInterfaces(), |