From 6f82799ec6541adb972af05952fa38d3d020fb8b Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 5 Aug 2026 10:46:59 +0200 Subject: [PATCH] chore(psalm): use full qualified class name for Circles The entire file is written in a way to ensure it also works if the circles app is not installed. So there is no `Circles` alias as it cannot be added with `use`. Signed-off-by: Max --- apps/files_sharing/lib/Controller/ShareAPIController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php index 030e751491e02..f802284131924 100644 --- a/apps/files_sharing/lib/Controller/ShareAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareAPIController.php @@ -1523,7 +1523,8 @@ protected function canAccessShare(\OCP\Share\IShare $share, bool $checkGroups = $sharedWith = substr($share->getSharedWith(), $shareWithStart, $shareWithLength); } try { - $member = Circles::getMember($sharedWith, $this->userId, 1); + + $member = \OCA\Circles\Api\v1\Circles::getMember($sharedWith, $this->userId, 1); if ($member->getLevel() >= 1) { return true; }