We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f1ad05 commit b27eef1Copy full SHA for b27eef1
Bridges/HttpKernel.php
@@ -183,7 +183,7 @@ private function mapFiles(&$files)
183
if (UPLOAD_ERR_OK == $file->getError()) {
184
file_put_contents($tmpname, (string)$file->getStream());
185
}
186
- $class = new \ReflectionClass('Symfony\Component\HttpFoundation\File\UploadedFile');
+ $class = new \ReflectionClass(SymfonyFile::class);
187
if (count($class->getConstructor()->getParameters()) === 6) {
188
// Symfony < v4.1
189
$file = new SymfonyFile(
0 commit comments