mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
chore: psalm fix
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
c9ae798962
commit
9c3416e89b
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue