We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 667403c commit edb374dCopy full SHA for edb374d
1 file changed
src/ServerRequest.php
@@ -314,10 +314,7 @@ private function validateUploadedFiles(array $files): void
314
return;
315
}
316
317
- /**
318
- * @psalm-suppress MissingClosureParamType
319
- */
320
- array_walk_recursive($files, static function ($file): void {
+ array_walk_recursive($files, /** @param mixed $file */ static function ($file): void {
321
if (!($file instanceof UploadedFileInterface)) {
322
throw new InvalidArgumentException('Invalid uploaded file');
323
0 commit comments