Skip to content

Commit

Permalink
chore: psalm fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <robin@icewind.nl>
  • Loading branch information
icewind1991 committed Nov 28, 2024
1 parent 8c13d67 commit 3821522
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Mount/GroupFolderStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class GroupFolderStorage extends Quota implements IConstructableStorage {
private ?ICacheEntry $rootEntry;
private IUserSession $userSession;
private ?IUser $mountOwner;
/** @var RootEntryCache|null */
/** @var ICache|null */
public $cache;

public function __construct($parameters) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Mount/MountProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public function getTrashMount(

$storage = $this->getRootFolder()->getStorage();

$storage->setOwner($user?->getUID());
$storage->setOwner($user->getUID());

$trashPath = $this->getRootFolder()->getInternalPath() . '/trash/' . $id;

Expand Down

0 comments on commit 3821522

Please sign in to comment.