Skip to content

Commit 2cb8277

Browse files
committed
fix warning
1 parent cccbc5e commit 2cb8277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Psr7/Message/UploadedFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function moveTo(string $targetPath): void
6262
$this->stream->rewind();
6363
}
6464

65-
$target = fopen($targetPath, 'wb');
65+
$target = @fopen($targetPath, 'wb');
6666
if ($target === false) {
6767
throw new RuntimeException('Target path could not be opened');
6868
}

0 commit comments

Comments
 (0)