Skip to content

Commit

Permalink
main,fixed more
Browse files Browse the repository at this point in the history
  • Loading branch information
Gracjan Kubicki committed Jun 1, 2023
1 parent 55878e3 commit ad7fab1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/Helpers/UploadHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ class UploadHelper extends AbstractHelper
* @return File
*/
public function uploadStream(
string $filePath,
$bucketIdOrUploadUrl,
string $fileName,
$stream,
?string $contentType = null,
FileInfo|array $fileInfo = [],
?array $fileRetention = null,
?bool $legalHold = null,
$bucketIdOrUploadUrl,
string $filePath,
string $fileName,
$stream,
?string $contentType = null,
FileInfo|array $fileInfo = [],
?array $fileRetention = null,
?bool $legalHold = null,
?ServerSideEncryption $serverSideEncryption = null
): File
{
Expand Down Expand Up @@ -67,7 +67,7 @@ public function uploadStream(
return $this->uploadLargeFile(
$bucketId,
$fileName,
$stream,
$filePath,
$contentType,
$fileInfo,
$legalHold,
Expand Down Expand Up @@ -123,8 +123,8 @@ public function uploadFile(
}

$file = $this->uploadStream(
$filePath,
$bucketIdOrUploadUrl,
$filePath,
$fileName,
$handle,
$contentType,
Expand Down

0 comments on commit ad7fab1

Please sign in to comment.