Merge pull request #44462 from nextcloud/fix/object-trait

fix(S3): Adjust typing for 32bit compatibility
pull/44483/head
Ferdinand Thiessen 2024-03-26 13:51:58 +07:00 committed by GitHub
commit 4b7b9c3d5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 3 deletions

@ -43,11 +43,14 @@ trait S3ConfigTrait {
protected string $storageClass;
protected int $uploadPartSize;
/** @var int Part size in bytes (float is added for 32bit support) */
protected int|float $uploadPartSize;
private int $putSizeLimit;
/** @var int Limit on PUT in bytes (float is added for 32bit support) */
private int|float $putSizeLimit;
private int $copySizeLimit;
/** @var int Limit on COPY in bytes (float is added for 32bit support) */
private int|float $copySizeLimit;
private bool $useMultipartCopy = true;
}