mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 11:48:08 +08:00
Fixed bug.
This commit is contained in:
parent
c63269c16d
commit
37a9b669d9
@ -12,7 +12,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace Hyperf\HttpMessage\Upload;
|
||||
|
||||
use Hyperf\App;
|
||||
use Psr\Http\Message\StreamInterface;
|
||||
use Psr\Http\Message\UploadedFileInterface;
|
||||
|
||||
@ -166,7 +165,6 @@ class UploadedFile extends \SplFileInfo implements UploadedFileInterface
|
||||
*/
|
||||
public function moveTo($targetPath)
|
||||
{
|
||||
$targetPath = App::getAlias($targetPath);
|
||||
$this->validateActive();
|
||||
|
||||
if (! $this->isStringNotEmpty($targetPath)) {
|
||||
|
Loading…
Reference in New Issue
Block a user