@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | public function handle(): void |
23 | 23 | { |
24 | - if (! Hyde::hasSiteUrl()) { |
|
24 | + if (!Hyde::hasSiteUrl()) { |
|
25 | 25 | $this->skip('Cannot generate sitemap without a valid base URL'); |
26 | 26 | } |
27 | 27 |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | */ |
96 | 96 | public function mediaLink(string $destination, bool $validate = false): string |
97 | 97 | { |
98 | - if ($validate && ! file_exists($sourcePath = "{$this->kernel->getMediaDirectory()}/$destination")) { |
|
98 | + if ($validate && !file_exists($sourcePath = "{$this->kernel->getMediaDirectory()}/$destination")) { |
|
99 | 99 | throw new FileNotFoundException($sourcePath); |
100 | 100 | } |
101 | 101 | |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | { |
134 | 134 | $value = Config::getNullableString('hyde.url'); |
135 | 135 | |
136 | - return ! blank($value) && $value !== 'http://localhost'; |
|
136 | + return !blank($value) && $value !== 'http://localhost'; |
|
137 | 137 | } |
138 | 138 | |
139 | 139 | /** |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | |
154 | 154 | // Since v1.7.0, we return the relative path even if the base URL is not set, |
155 | 155 | // as this is more likely to be the desired behavior the user's expecting. |
156 | - if (! blank($path)) { |
|
156 | + if (!blank($path)) { |
|
157 | 157 | return $path; |
158 | 158 | } |
159 | 159 |