@@ -99,7 +99,7 @@ |
||
99 | 99 | |
100 | 100 | protected static function xmlEscape(string $string): string |
101 | 101 | { |
102 | - return htmlspecialchars($string, ENT_XML1 | ENT_COMPAT, 'UTF-8'); |
|
102 | + return htmlspecialchars($string, ENT_XML1|ENT_COMPAT, 'UTF-8'); |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | public static function getDescription(): string |
@@ -232,11 +232,11 @@ |
||
232 | 232 | */ |
233 | 233 | public function copy(string $from, string $to, bool $force = false): bool|int |
234 | 234 | { |
235 | - if (! file_exists($from)) { |
|
235 | + if (!file_exists($from)) { |
|
236 | 236 | return 404; |
237 | 237 | } |
238 | 238 | |
239 | - if (file_exists($to) && ! $force) { |
|
239 | + if (file_exists($to) && !$force) { |
|
240 | 240 | return 409; |
241 | 241 | } |
242 | 242 |
@@ -177,7 +177,7 @@ |
||
177 | 177 | */ |
178 | 178 | public function hasSiteUrl(): bool |
179 | 179 | { |
180 | - return ! blank(config('site.url')); |
|
180 | + return !blank(config('site.url')); |
|
181 | 181 | } |
182 | 182 | |
183 | 183 | /** |