@@ -57,7 +57,7 @@ |
||
57 | 57 | |
58 | 58 | protected static function validated(mixed $value, string $type, string $key): mixed |
59 | 59 | { |
60 | - if (! call_user_func("is_$type", $value)) { |
|
60 | + if (!call_user_func("is_$type", $value)) { |
|
61 | 61 | throw new TypeError(sprintf('%s(): Config value %s must be of type %s, %s given', __METHOD__, $key, $type, gettype($value))); |
62 | 62 | } |
63 | 63 |
@@ -215,7 +215,7 @@ |
||
215 | 215 | { |
216 | 216 | $storagePath = Hyde::mediaPath($this->source); |
217 | 217 | |
218 | - if (! file_exists($storagePath)) { |
|
218 | + if (!file_exists($storagePath)) { |
|
219 | 219 | throw new FileNotFoundException(customMessage: sprintf('Featured image [%s] not found.', Hyde::pathToRelative($storagePath))); |
220 | 220 | } |
221 | 221 |