@@ -53,11 +53,11 @@ discard block |
||
53 | 53 | return $this; |
54 | 54 | } |
55 | 55 | |
56 | - private function getObjectField(int|string $name, string|array $field): AbstractObjectField |
|
56 | + private function getObjectField(int | string $name, string | array $field): AbstractObjectField |
|
57 | 57 | { |
58 | 58 | $fieldName = $field['name'] ?? $name; |
59 | 59 | |
60 | - if (! is_string($fieldName)) { |
|
60 | + if (!is_string($fieldName)) { |
|
61 | 61 | throw new CantResolveObjectFieldException('Can\'t resolve ObjectField configuration: undefined name'); |
62 | 62 | } |
63 | 63 | |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | } |
67 | 67 | |
68 | 68 | if (is_array($field)) { |
69 | - if (! isset($field['type']) || ! is_string($field['type'])) { |
|
69 | + if (!isset($field['type']) || !is_string($field['type'])) { |
|
70 | 70 | throw new CantResolveObjectFieldException( |
71 | 71 | 'Can\'t resolve ObjectField configuration: undefined type', |
72 | 72 | ); |