Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
vipin-shrivastava-webkul committed Oct 27, 2021
1 parent 5267d15 commit 67402a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FileSystem/UploadManagers/Localhost.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private function resolvePathToAsset($fileName, $prefix = null)
return array($relativePathToAsset, $absolutePathToAsset);
}

public function uploadFile(UploadedFile $temporaryFile, $prefix = null, bool $renameFile = true)
public function uploadFile(UploadedFile $temporaryFile, $prefix = null, bool $renameFile = false)
{
$fileName = $temporaryFile->getClientOriginalName();

Expand All @@ -98,7 +98,7 @@ public function uploadFile(UploadedFile $temporaryFile, $prefix = null, bool $re
];
}

public function uploadEmailAttachment(Attachment $attachmentStream, $prefix = null, bool $renameFile = true)
public function uploadEmailAttachment(Attachment $attachmentStream, $prefix = null, bool $renameFile = false)
{
$fileName = $attachmentStream->getFilename();

Expand Down

0 comments on commit 67402a5

Please sign in to comment.