Skip to content

Commit

Permalink
Merge pull request #44462 from nextcloud/fix/object-trait
Browse files Browse the repository at this point in the history
fix(S3): Adjust typing for 32bit compatibility
  • Loading branch information
susnux authored Mar 26, 2024
2 parents 1a55084 + 7880086 commit 4b7b9c3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/private/Files/ObjectStore/S3ConfigTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 4b7b9c3

Please sign in to comment.