We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | /** |
11 | 11 | * Static constructor function. |
12 | 12 | */ |
13 | - public static function for(array $field, array $configuration): UploaderInterface; |
|
13 | + public static function for (array $field, array $configuration): UploaderInterface; |
|
14 | 14 | |
15 | 15 | /** |
16 | 16 | * Default implementation functions. |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | |
35 | 35 | public function relationship(bool $isRelation): self; |
36 | 36 | |
37 | - public function fake(bool|string $isFake): self; |
|
37 | + public function fake(bool | string $isFake): self; |
|
38 | 38 | |
39 | 39 | /** |
40 | 40 | * Getters. |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | |
52 | 52 | public function getExpirationTimeInMinutes(): int; |
53 | 53 | |
54 | - public function getFileName(string|UploadedFile $file): string; |
|
54 | + public function getFileName(string | UploadedFile $file): string; |
|
55 | 55 | |
56 | 56 | public function getRepeatableContainerName(): ?string; |
57 | 57 |
@@ -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() |