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
parent c9ae798962
commit 9c3416e89b
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

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