@@ -28,7 +28,7 @@ |
||
28 | 28 | { |
29 | 29 | $files ??= $_FILES; |
30 | 30 | |
31 | - $walker = static function ($path, $size, $error, $name, $type) use (&$walker) { |
|
31 | + $walker = static function($path, $size, $error, $name, $type) use (&$walker) { |
|
32 | 32 | if (!is_array($path)) { |
33 | 33 | $stream = $error === UPLOAD_ERR_OK ? new FileStream($path, 'rb') : null; |
34 | 34 |
@@ -317,7 +317,7 @@ |
||
317 | 317 | /** |
318 | 318 | * @psalm-suppress MissingClosureParamType |
319 | 319 | */ |
320 | - array_walk_recursive($files, static function ($file): void { |
|
320 | + array_walk_recursive($files, static function($file): void { |
|
321 | 321 | if (!($file instanceof UploadedFileInterface)) { |
322 | 322 | throw new InvalidArgumentException('Invalid uploaded file'); |
323 | 323 | } |