diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-03-25 20:59:40 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-03-26 13:07:53 +0100 |
commit | 7880086de84d112e079039d05df615e7fd7301d3 (patch) | |
tree | 4e2acae572dffe2ab731ac7d6f3bd76dd6443a84 /lib/private/Files | |
parent | 1a55084930cbdd89e349cc0c9f4a2c2aeedb1e3c (diff) | |
download | nextcloud-server-7880086de84d112e079039d05df615e7fd7301d3.tar.gz nextcloud-server-7880086de84d112e079039d05df615e7fd7301d3.zip |
fix(S3): Adjust typing for 32bit compatibility
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'lib/private/Files')
-rw-r--r-- | lib/private/Files/ObjectStore/S3ConfigTrait.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/private/Files/ObjectStore/S3ConfigTrait.php b/lib/private/Files/ObjectStore/S3ConfigTrait.php index 7f204507c22..a5a8d9c3506 100644 --- a/lib/private/Files/ObjectStore/S3ConfigTrait.php +++ b/lib/private/Files/ObjectStore/S3ConfigTrait.php @@ -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; } |