aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2022-11-01 14:52:20 +0100
committerszaimen <szaimen@e.mail.de>2022-11-02 11:13:34 +0100
commit3f7c620f262de9822f1a74b130150577520fc2db (patch)
treeb50027e23333ac4dc19c53d3496f48d166e6720f
parentdd8774389e21b59c07882580356d51de018fe867 (diff)
downloadnextcloud-server-3f7c620f262de9822f1a74b130150577520fc2db.tar.gz
nextcloud-server-3f7c620f262de9822f1a74b130150577520fc2db.zip
fix psalm
Signed-off-by: szaimen <szaimen@e.mail.de>
-rw-r--r--lib/private/Files/Storage/Local.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php
index 0c5375c0240..9daa3517825 100644
--- a/lib/private/Files/Storage/Local.php
+++ b/lib/private/Files/Storage/Local.php
@@ -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) {