We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | { |
15 | 15 | $previousImage = $this->getPreviousFiles($entry); |
16 | 16 | |
17 | - if (! $value && $previousImage) { |
|
17 | + if (!$value && $previousImage) { |
|
18 | 18 | Storage::disk($this->getDisk())->delete($previousImage); |
19 | 19 | |
20 | 20 | return null; |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | public function shouldKeepPreviousValueUnchanged(Model $entry, $entryValue): bool |
69 | 69 | { |
70 | - return $entry->exists && is_string($entryValue) && ! Str::startsWith($entryValue, 'data:image'); |
|
70 | + return $entry->exists && is_string($entryValue) && !Str::startsWith($entryValue, 'data:image'); |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | public function getUploadedFilesFromRequest() |