fix wrong method name
This commit is contained in:
parent
25ae70eb75
commit
411997dc59
@ -164,7 +164,7 @@ class UploadedFile extends File
|
|||||||
public function move($directory, $name = null)
|
public function move($directory, $name = null)
|
||||||
{
|
{
|
||||||
if ($this->moved) {
|
if ($this->moved) {
|
||||||
return parent::doMove($directory, $name);
|
return parent::move($directory, $name);
|
||||||
}
|
}
|
||||||
|
|
||||||
$newPath = $directory.DIRECTORY_SEPARATOR.(null === $name ? $this->getName() : $name);
|
$newPath = $directory.DIRECTORY_SEPARATOR.(null === $name ? $this->getName() : $name);
|
||||||
|
Reference in New Issue
Block a user