Skip to content

Commit 9ed9557

Browse files
authored
[stable25] Fix quota usage for 32-bit systems
Resolves the issue reported here: #34905 (comment) Signed-off-by: MichaIng <micha@dietpi.com>
1 parent 3fe385f commit 9ed9557

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/private/Files/Storage/Wrapper/Quota.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
class Quota extends Wrapper {
4242
/** @var callable|null */
4343
protected $quotaCallback;
44-
protected ?int $quota;
44+
protected $quota;
4545
protected string $sizeRoot;
4646
private SystemConfig $config;
4747

@@ -59,7 +59,7 @@ public function __construct($parameters) {
5959
/**
6060
* @return int quota value
6161
*/
62-
public function getQuota(): int {
62+
public function getQuota() {
6363
if ($this->quota === null) {
6464
$quotaCallback = $this->quotaCallback;
6565
if ($quotaCallback === null) {

0 commit comments

Comments
 (0)