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 b76cdd09cc
commit 966db54089
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

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