Skip to content

Commit 4b7b9c3

Browse files
authored
Merge pull request #44462 from nextcloud/fix/object-trait
fix(S3): Adjust typing for 32bit compatibility
2 parents 1a55084 + 7880086 commit 4b7b9c3

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

lib/private/Files/ObjectStore/S3ConfigTrait.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,14 @@ trait S3ConfigTrait {
4343

4444
protected string $storageClass;
4545

46-
protected int $uploadPartSize;
46+
/** @var int Part size in bytes (float is added for 32bit support) */
47+
protected int|float $uploadPartSize;
4748

48-
private int $putSizeLimit;
49+
/** @var int Limit on PUT in bytes (float is added for 32bit support) */
50+
private int|float $putSizeLimit;
4951

50-
private int $copySizeLimit;
52+
/** @var int Limit on COPY in bytes (float is added for 32bit support) */
53+
private int|float $copySizeLimit;
5154

5255
private bool $useMultipartCopy = true;
5356
}

0 commit comments

Comments
 (0)