@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | public static function getBasePath(): string |
| 38 | 38 | { |
| 39 | 39 | /** @deprecated Set path in constructor when instantiating the Singleton. */ |
| 40 | - if (! isset(static::$basePath)) { |
|
| 40 | + if (!isset(static::$basePath)) { |
|
| 41 | 41 | static::$basePath = getcwd(); |
| 42 | 42 | } |
| 43 | 43 | |
@@ -227,11 +227,11 @@ discard block |
||
| 227 | 227 | */ |
| 228 | 228 | public static function copy(string $from, string $to, bool $force = false): bool|int |
| 229 | 229 | { |
| 230 | - if (! file_exists($from)) { |
|
| 230 | + if (!file_exists($from)) { |
|
| 231 | 231 | return 404; |
| 232 | 232 | } |
| 233 | 233 | |
| 234 | - if (file_exists($to) && ! $force) { |
|
| 234 | + if (file_exists($to) && !$force) { |
|
| 235 | 235 | return 409; |
| 236 | 236 | } |
| 237 | 237 | |