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 Dec 11, 2024
1 parent 8d7127d commit ab7347d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Mount/GroupFolderStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class GroupFolderStorage extends Quota {
private int $folderId;
private ?ICacheEntry $rootEntry;
private IUserSession $userSession;
private ?IUser $mountOwner = null;
/** @var RootEntryCache|null */
private ?IUser $mountOwner;
/** @var ICache|null */

Check failure on line 22 in lib/Mount/GroupFolderStorage.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis

UndefinedDocblockClass

lib/Mount/GroupFolderStorage.php:22:11: UndefinedDocblockClass: Docblock-defined class, interface or enum named OCA\GroupFolders\Mount\ICache does not exist (see https://psalm.dev/200)
public $cache = null;

Check failure on line 23 in lib/Mount/GroupFolderStorage.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis

UndefinedDocblockClass

lib/Mount/GroupFolderStorage.php:23:2: UndefinedDocblockClass: Docblock-defined class, interface or enum named OCA\GroupFolders\Mount\ICache does not exist (see https://psalm.dev/200)

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 @@ -269,7 +269,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 ab7347d

Please sign in to comment.