@@ -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 | |
@@ -314,7 +314,7 @@ |
||
| 314 | 314 | return; |
| 315 | 315 | } |
| 316 | 316 | |
| 317 | - array_walk_recursive($files, /** @param mixed $file */ static function ($file): void { |
|
| 317 | + array_walk_recursive($files, /** @param mixed $file */ static function($file): void { |
|
| 318 | 318 | if (!($file instanceof UploadedFileInterface)) { |
| 319 | 319 | throw new InvalidArgumentException('Invalid uploaded file'); |
| 320 | 320 | } |