Skip to content

Commit 3f7c620

Browse files
committed
fix psalm
Signed-off-by: szaimen <szaimen@e.mail.de>
1 parent dd87743 commit 3f7c620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Files/Storage/Local.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ public function free_space($path) {
408408
if ($space === false || is_null($space)) {
409409
return \OCP\Files\FileInfo::SPACE_UNKNOWN;
410410
}
411-
return $space;
411+
return (int)$space;
412412
}
413413

414414
public function search($query) {

0 commit comments

Comments
 (0)