@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | $fieldName = $field['name'] ?? $name; |
| 46 | 46 | |
| 47 | - if (! is_string($fieldName)) { |
|
| 47 | + if (!is_string($fieldName)) { |
|
| 48 | 48 | throw new CantResolveObjectFieldException('Can\'t resolve ObjectField configuration: undefined name'); |
| 49 | 49 | } |
| 50 | 50 | |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | if (is_array($field)) { |
| 58 | - if (! isset($field['type']) || ! is_string($field['type'])) { |
|
| 58 | + if (!isset($field['type']) || !is_string($field['type'])) { |
|
| 59 | 59 | throw new CantResolveObjectFieldException( |
| 60 | 60 | 'Can\'t resolve ObjectField configuration: undefined type', |
| 61 | 61 | ); |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | return \Closure::fromCallable($callable); |
| 147 | 147 | } |
| 148 | 148 | |
| 149 | - if (! isset($callable[0], $callable[1])) { |
|
| 149 | + if (!isset($callable[0], $callable[1])) { |
|
| 150 | 150 | throw new CantResolveObjectFieldException( |
| 151 | 151 | 'Can\'t resolve ObjectField configuration: resolve must be callable', |
| 152 | 152 | ); |