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