]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix psalm 34907/head
authorszaimen <szaimen@e.mail.de>
Tue, 1 Nov 2022 13:52:20 +0000 (14:52 +0100)
committerszaimen <szaimen@e.mail.de>
Wed, 2 Nov 2022 10:13:34 +0000 (11:13 +0100)
Signed-off-by: szaimen <szaimen@e.mail.de>
lib/private/Files/Storage/Local.php

index 0c5375c02409721834ed9e81386707511d60746b..9daa3517825170e791e5c30c38d5469170f8d879 100644 (file)
@@ -408,7 +408,7 @@ class Local extends \OC\Files\Storage\Common {
                if ($space === false || is_null($space)) {
                        return \OCP\Files\FileInfo::SPACE_UNKNOWN;
                }
-               return $space;
+               return (int)$space;
        }
 
        public function search($query) {