@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | #[Deprecated(reason: 'Use `asset` method instead.', replacement: '%class%->asset(%parameter0%)')] |
100 | 100 | public function mediaLink(string $destination, bool $validate = false): string |
101 | 101 | { |
102 | - if ($validate && ! file_exists($sourcePath = "{$this->kernel->getMediaDirectory()}/$destination")) { |
|
102 | + if ($validate && !file_exists($sourcePath = "{$this->kernel->getMediaDirectory()}/$destination")) { |
|
103 | 103 | throw new FileNotFoundException($sourcePath); |
104 | 104 | } |
105 | 105 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | { |
138 | 138 | $value = Config::getNullableString('hyde.url'); |
139 | 139 | |
140 | - return ! blank($value) && $value !== 'http://localhost'; |
|
140 | + return !blank($value) && $value !== 'http://localhost'; |
|
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | |
162 | 162 | // Since v1.7.0, we return the relative path even if the base URL is not set, |
163 | 163 | // as this is more likely to be the desired behavior the user's expecting. |
164 | - if (! blank($path)) { |
|
164 | + if (!blank($path)) { |
|
165 | 165 | return $path; |
166 | 166 | } |
167 | 167 |