|
@@ -38,7 +38,7 @@ discard block |
|
|
block discarded – undo |
|
38
|
38
|
* |
|
39
|
39
|
* @return array<array<int<0, max>, string>|string> |
|
40
|
40
|
*/ |
|
41
|
|
- public function writeRequest(Request $request, string $path = '', array|Validator|null $validators = null, array $options = []): array |
|
|
41
|
+ public function writeRequest(Request $request, string $path = '', array | Validator | null $validators = null, array $options = []): array |
|
42
|
42
|
{ |
|
43
|
43
|
$uploaded = []; |
|
44
|
44
|
$files = $request->files->all(); |
|
@@ -72,7 +72,7 @@ discard block |
|
|
block discarded – undo |
|
72
|
72
|
* |
|
73
|
73
|
* @param array<string,mixed> $options |
|
74
|
74
|
*/ |
|
75
|
|
- public function writeFile(UploadedFile|File $file, string $path = '', ?Validator $validator = null, array $options = []): string |
|
|
75
|
+ public function writeFile(UploadedFile | File $file, string $path = '', ?Validator $validator = null, array $options = []): string |
|
76
|
76
|
{ |
|
77
|
77
|
if (!$validator instanceof Validator) { |
|
78
|
78
|
$validator = new Blacklist(); |
Please login to merge, or discard this patch.