Skip to content

Commit 7179901

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

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

0 commit comments

Comments
 (0)