@@ -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\SDL\Reflection\Builder\Definitions; |
| 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\SDL\Reflection\Builder\Definitions; |
| 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\SDL\Reflection\Builder\Definitions; |
| 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\SDL\Reflection\Coercion; |
| 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\SDL\Reflection\Coercion; |
| 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\SDL\Reflection\Coercion; |
| 11 | 11 | |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function apply(TypeDefinition $directive): void |
| 35 | 35 | { |
| 36 | - $applier = function () use ($directive): void { |
|
| 36 | + $applier = function() use ($directive): void { |
|
| 37 | 37 | $this->deprecationReason = $directive->getPassedArgument(Deprecation::REASON_ARGUMENT); |
| 38 | 38 | }; |
| 39 | 39 | |
@@ -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\SDL\Reflection\Coercion; |
| 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\SDL\Reflection\Coercion; |
| 11 | 11 | |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | return; |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - if (! $type->hasDefaultValue()) { |
|
| 40 | + if (!$type->hasDefaultValue()) { |
|
| 41 | 41 | $this->inferenceValue($type); |
| 42 | 42 | return; |
| 43 | 43 | } |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * field(arg: [Float] = null) → field(arg: [Float] = null) |
| 67 | 67 | * </code> |
| 68 | 68 | */ |
| 69 | - $isListDefinedByNonList = ($value !== null && ! \is_array($value)); |
|
| 69 | + $isListDefinedByNonList = ($value !== null && !\is_array($value)); |
|
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | 72 | * The allowable conversion method for NULL: |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * field(argument: Type = NULL): Type |
| 122 | 122 | * </code> |
| 123 | 123 | */ |
| 124 | - if (! $argument->isNonNull()) { |
|
| 124 | + if (!$argument->isNonNull()) { |
|
| 125 | 125 | $this->set($argument, null); |
| 126 | 126 | return; |
| 127 | 127 | } |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | */ |
| 134 | 134 | private function set(BaseArgument $argument, $value): void |
| 135 | 135 | { |
| 136 | - $invocation = function ($value): void { |
|
| 136 | + $invocation = function($value): void { |
|
| 137 | 137 | /** @var BaseArgument $this */ |
| 138 | 138 | $this->defaultValue = $value; |
| 139 | 139 | $this->hasDefaultValue = true; |
@@ -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\SDL\Reflection; |
| 11 | 11 | |