Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtThiemann committed Feb 7, 2025
1 parent cccbc5e commit 2cb8277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psr7/Message/UploadedFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function moveTo(string $targetPath): void
$this->stream->rewind();
}

$target = fopen($targetPath, 'wb');
$target = @fopen($targetPath, 'wb');
if ($target === false) {
throw new RuntimeException('Target path could not be opened');
}
Expand Down

0 comments on commit 2cb8277

Please sign in to comment.