chore: psalm fix

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2026-04-01 19:25:27 +02:00 committed by backportbot[bot]
parent 15cf6c2e4e
commit 217bb2ad1d

View file

@ -348,6 +348,8 @@ class Trashbin implements IEventListener {
$sizeDifference = $sourceInfo->getSize();
if ($sizeDifference < 0) {
$sizeDifference = null;
} else {
$sizeDifference = (int)$sizeDifference;
}
$trashStorage->getUpdater()->update($trashInternalPath, null, $sizeDifference);
}