@@ -68,11 +68,11 @@ discard block |
||
68 | 68 | return $this; |
69 | 69 | } |
70 | 70 | |
71 | - private function getObjectField(int|string $name, string|array $field): AbstractObjectField |
|
71 | + private function getObjectField(int | string $name, string | array $field): AbstractObjectField |
|
72 | 72 | { |
73 | 73 | $fieldName = $field['name'] ?? $name; |
74 | 74 | |
75 | - if (! is_string($fieldName)) { |
|
75 | + if (!is_string($fieldName)) { |
|
76 | 76 | throw new CantResolveObjectFieldException('Can\'t resolve ObjectField configuration: undefined name'); |
77 | 77 | } |
78 | 78 | |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | } |
82 | 82 | |
83 | 83 | if (is_array($field)) { |
84 | - if (! isset($field['type']) || ! is_string($field['type'])) { |
|
84 | + if (!isset($field['type']) || !is_string($field['type'])) { |
|
85 | 85 | throw new CantResolveObjectFieldException( |
86 | 86 | 'Can\'t resolve ObjectField configuration: undefined type', |
87 | 87 | ); |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | return \Closure::fromCallable($callable); |
156 | 156 | } |
157 | 157 | |
158 | - if (! isset($callable[0], $callable[1])) { |
|
158 | + if (!isset($callable[0], $callable[1])) { |
|
159 | 159 | throw new CantResolveObjectFieldException( |
160 | 160 | 'Can\'t resolve ObjectField configuration: resolve must be callable', |
161 | 161 | ); |