From 20df42bddb289b16224e4fe919232b1224af1f2c Mon Sep 17 00:00:00 2001 From: aynsix Date: Tue, 26 Nov 2024 14:54:36 +0300 Subject: [PATCH] fix --- databox/api/src/Integration/Phrasea/Expose/ExposeClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/databox/api/src/Integration/Phrasea/Expose/ExposeClient.php b/databox/api/src/Integration/Phrasea/Expose/ExposeClient.php index e5c592aec..5d093d3fd 100644 --- a/databox/api/src/Integration/Phrasea/Expose/ExposeClient.php +++ b/databox/api/src/Integration/Phrasea/Expose/ExposeClient.php @@ -255,7 +255,7 @@ public function deleteAsset(IntegrationConfig $config, IntegrationToken $integra ; } - private function putPart(string $url, mixed $handleFile, int $partSize, int $retryCount): array + private function putPart(string $url, mixed $handleFile, int $partSize, int $retryCount): ?array { if ($retryCount > 0) { $retryCount--; @@ -267,7 +267,7 @@ private function putPart(string $url, mixed $handleFile, int $partSize, int $ret if ($retryCount == 0) { throw $e; } - $this->putPart($url, $handleFile, $partSize, $retryCount); + return $this->putPart($url, $handleFile, $partSize, $retryCount); } } }