Skip to content

Commit 966db54

Browse files
committed
chore: psalm fix
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent b76cdd0 commit 966db54

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/files_trashbin/lib/Trashbin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ public static function move2trash($file_path, $ownerOnly = false) {
352352
$sizeDifference = $sourceInfo->getSize();
353353
if ($sizeDifference < 0) {
354354
$sizeDifference = null;
355+
} else {
356+
$sizeDifference = (int)$sizeDifference;
355357
}
356358
$trashStorage->getUpdater()->update($trashInternalPath, null, $sizeDifference);
357359
}

0 commit comments

Comments
 (0)