From c73f11ba4de8ffb9cfe59c8c905a91a7a4c88d66 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 23 Nov 2022 11:24:53 +0100 Subject: [PATCH] Float the quota Signed-off-by: Vincent Petry --- lib/private/legacy/OC_Helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/legacy/OC_Helper.php b/lib/private/legacy/OC_Helper.php index 269922f21dd..cf3f157b8a7 100644 --- a/lib/private/legacy/OC_Helper.php +++ b/lib/private/legacy/OC_Helper.php @@ -605,7 +605,7 @@ class OC_Helper { /** * Get storage info including all mount points and quota */ - private static function getGlobalStorageInfo(int $quota, IUser $user, IMountPoint $mount): array { + private static function getGlobalStorageInfo(float $quota, IUser $user, IMountPoint $mount): array { $rootInfo = \OC\Files\Filesystem::getFileInfo('', 'ext'); $used = $rootInfo['size']; if ($used < 0) { -- 2.39.5