Skip to content

Commit 217bb2a

Browse files
icewind1991backportbot[bot]
authored andcommitted
chore: psalm fix
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 15cf6c2 commit 217bb2a

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
@@ -348,6 +348,8 @@ public static function move2trash($file_path, $ownerOnly = false) {
348348
$sizeDifference = $sourceInfo->getSize();
349349
if ($sizeDifference < 0) {
350350
$sizeDifference = null;
351+
} else {
352+
$sizeDifference = (int)$sizeDifference;
351353
}
352354
$trashStorage->getUpdater()->update($trashInternalPath, null, $sizeDifference);
353355
}

0 commit comments

Comments
 (0)