Thanks to visit codestin.com Credit goes to github.com
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 22b37c8 commit 7f3b5c1Copy full SHA for 7f3b5c1
Factory/UploadedFile.php
@@ -61,7 +61,7 @@ public function move($directory, $name = null): File
61
$target = $this->getTargetFile($directory, $name);
62
63
try {
64
- $this->psrUploadedFile->moveTo($target);
+ $this->psrUploadedFile->moveTo((string) $target);
65
} catch (\RuntimeException $e) {
66
throw new FileException(sprintf('Could not move the file "%s" to "%s" (%s)', $this->getPathname(), $target, $e->getMessage()), 0, $e);
67
}
0 commit comments