Skip to content

Commit

Permalink
some fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aynsix committed Nov 26, 2024
1 parent 42adf0c commit 0c6a5b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions databox/api/src/Integration/Phrasea/Expose/ExposeClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public function deleteAsset(IntegrationConfig $config, IntegrationToken $integra
;
}

private function putPart(string $url, mixed $handleFile, int $partSize, int $retryCount)
private function putPart(string $url, mixed $handleFile, int $partSize, int $retryCount): array
{
if ($retryCount > 0) {
$retryCount--;
Expand All @@ -265,7 +265,7 @@ private function putPart(string $url, mixed $handleFile, int $partSize, int $ret
])->getHeaders();
} catch (\Throwable $e) {
if ($retryCount == 0) {
throw $e; // retry unsuccess
throw $e;
}
$this->putPart($url, $handleFile, $partSize, $retryCount);
}
Expand Down

0 comments on commit 0c6a5b8

Please sign in to comment.