We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -6,5 +6,5 @@ |
||
6 | 6 | |
7 | 7 | interface FileNameGeneratorInterface |
8 | 8 | { |
9 | - public function getName(string|UploadedFile $file): string; |
|
9 | + public function getName(string | UploadedFile $file): string; |
|
10 | 10 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | use Illuminate\Http\UploadedFile; |
7 | 7 | |
8 | 8 | interface UploaderInterface |
9 | - { |
|
9 | + { |
|
10 | 10 | /** |
11 | 11 | * Static constructor function |
12 | 12 | */ |
@@ -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 | public function getPath(): string; |
35 | 35 | public function useTemporaryUrl(): bool; |
36 | 36 | public function getExpirationTimeInMinutes(): int; |
37 | - public function getFileName(string|UploadedFile $file): string; |
|
37 | + public function getFileName(string | UploadedFile $file): string; |
|
38 | 38 | public function getRepeatableContainerName(): ?string; |
39 | 39 | public function getIdentifier(): string; |
40 | 40 | public function shouldDeleteFiles(): bool; |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | */ |
32 | 32 | public function markAsHandled(string $objectName): void |
33 | 33 | { |
34 | - if (! in_array($objectName, $this->handledUploaders)) { |
|
34 | + if (!in_array($objectName, $this->handledUploaders)) { |
|
35 | 35 | $this->handledUploaders[] = $objectName; |
36 | 36 | } |
37 | 37 | } |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | */ |
82 | 82 | public function registerRepeatableUploader(string $uploadName, UploaderInterface $uploader): void |
83 | 83 | { |
84 | - if (! array_key_exists($uploadName, $this->repeatableUploaders) || ! in_array($uploader, $this->repeatableUploaders[$uploadName])) { |
|
84 | + if (!array_key_exists($uploadName, $this->repeatableUploaders) || !in_array($uploader, $this->repeatableUploaders[$uploadName])) { |
|
85 | 85 | $this->repeatableUploaders[$uploadName][] = $uploader; |
86 | 86 | } |
87 | 87 | } |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | */ |
116 | 116 | public function getRegisteredUploadNames(string $uploadName): array |
117 | 117 | { |
118 | - return array_map(function ($uploader) { |
|
118 | + return array_map(function($uploader) { |
|
119 | 119 | return $uploader->getName(); |
120 | 120 | }, $this->getRepeatableUploadersFor($uploadName)); |
121 | 121 | } |