Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/private/Files/Storage/Wrapper/Quota.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
class Quota extends Wrapper {
/** @var callable|null */
protected $quotaCallback;
protected ?int $quota;
protected $quota;
protected string $sizeRoot;
private SystemConfig $config;

Expand All @@ -59,7 +59,7 @@ public function __construct($parameters) {
/**
* @return int quota value
*/
public function getQuota(): int {
public function getQuota() {
if ($this->quota === null) {
$quotaCallback = $this->quotaCallback;
if ($quotaCallback === null) {
Expand Down