]> source.dussan.org Git - nextcloud-server.git/commitdiff
Float the quota
authorVincent Petry <vincent@nextcloud.com>
Wed, 23 Nov 2022 10:24:53 +0000 (11:24 +0100)
committerVincent Petry <vincent@nextcloud.com>
Thu, 24 Nov 2022 20:09:28 +0000 (21:09 +0100)
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
lib/private/legacy/OC_Helper.php

index 269922f21dd6c29150b12249f4246f28069e4e16..cf3f157b8a711c53f2612e72c4e377bf334d5c59 100644 (file)
@@ -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) {