@@ -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 | |
@@ -62,8 +62,8 @@ discard block |
||
| 62 | 62 | $name = $default->getName(); |
| 63 | 63 | |
| 64 | 64 | if ( |
| 65 | - ! array_key_exists($name, $input) && // Empty argument |
|
| 66 | - ! $default->hasDefaultValue() && // And has no default value |
|
| 65 | + !array_key_exists($name, $input) && // Empty argument |
|
| 66 | + !$default->hasDefaultValue() && // And has no default value |
|
| 67 | 67 | $default->getType()->nonNull() // And required |
| 68 | 68 | ) { |
| 69 | 69 | $message = 'Argument %s required for field %s'; |
@@ -130,12 +130,12 @@ discard block |
||
| 130 | 130 | */ |
| 131 | 131 | public function getRelations(): iterable |
| 132 | 132 | { |
| 133 | - throw new \LogicException(__METHOD__ . ' not implemented yet'); |
|
| 133 | + throw new \LogicException(__METHOD__.' not implemented yet'); |
|
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | public function hasRelation(string $name): bool |
| 137 | 137 | { |
| 138 | - throw new \LogicException(__METHOD__ . ' not implemented yet'); |
|
| 138 | + throw new \LogicException(__METHOD__.' not implemented yet'); |
|
| 139 | 139 | } |
| 140 | 140 | |
| 141 | 141 | /** |