@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | { |
| 22 | 22 | protected function setSource(string $source): string |
| 23 | 23 | { |
| 24 | - if (! str_starts_with($source, '_media/')) { |
|
| 24 | + if (!str_starts_with($source, '_media/')) { |
|
| 25 | 25 | // Throwing an exception here ensures we have a super predictable state. |
| 26 | 26 | throw new InvalidArgumentException('LocalFeaturedImage source must start with _media/'); |
| 27 | 27 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | protected function storageValidatedPath(): string |
| 51 | 51 | { |
| 52 | - if (! file_exists($this->storagePath())) { |
|
| 52 | + if (!file_exists($this->storagePath())) { |
|
| 53 | 53 | throw new FileNotFoundException("Image at $this->source does not exist"); |
| 54 | 54 | } |
| 55 | 55 | |