From b97e870f0355470fdd100d4b7713cde0ecd0dc9b Mon Sep 17 00:00:00 2001 From: "y.dombrovsky" Date: Tue, 4 Oct 2022 21:34:07 +0300 Subject: [PATCH] fix conflict --- src/DropmefilesAPI.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/DropmefilesAPI.php b/src/DropmefilesAPI.php index ccbaf3a..2dd89ef 100644 --- a/src/DropmefilesAPI.php +++ b/src/DropmefilesAPI.php @@ -212,17 +212,16 @@ private function sendChunk( int $chunk, int $chunkSize, int $sendFileSize, - \SplFileInfo $fileInfo, + SplFileInfo $fileInfo, string $fileNameTech, string $uid, int $attempt = 0 - ): bool - { + ): bool { try { $response = $this->httpClient->request( 'POST', - $this::HOST.'/s3/uploadch?name='.urlencode($fileInfo->getFilename()).'&chunk='.$chunk. - '&chunks='.$chunks.'&updir='.$uid, + $this::HOST.'/s3/uploadch?name='.urlencode($fileInfo->getFilename()).'&chunk=' . $chunk . + '&chunks=' . $chunks . '&updir=' . $uid, [ RequestOptions::HEADERS => array_merge($this->getBaseHeaders(), [ 'Content-Type' => 'application/octet-stream',