@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | { |
217 | 217 | $storagePath = Hyde::mediaPath($this->source); |
218 | 218 | |
219 | - if (! file_exists($storagePath)) { |
|
219 | + if (!file_exists($storagePath)) { |
|
220 | 220 | throw new FileNotFoundException(sprintf('Image at %s does not exist', Hyde::pathToRelative($storagePath))); |
221 | 221 | } |
222 | 222 | |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | // TODO: We may want to globalize this check in the config, but for now, |
229 | 229 | // we just check the server arguments and skip remote requests if |
230 | 230 | // the --no-api flag is present (in the build command call) |
231 | - if (! (isset($_SERVER['argv']) && in_array('--no-api', $_SERVER['argv'], true))) { |
|
231 | + if (!(isset($_SERVER['argv']) && in_array('--no-api', $_SERVER['argv'], true))) { |
|
232 | 232 | $headers = Http::withHeaders([ |
233 | 233 | 'User-Agent' => Config::getString('hyde.http_user_agent', 'RSS Request Client'), |
234 | 234 | ])->head($this->getSource())->headers(); |