summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-07-15 17:00:50 +0200
committerJoas Schilling <coding@schilljs.com>2021-07-15 17:00:50 +0200
commit85b477aa67be084eb1ff5f2bd02cf9780da5edb7 (patch)
treee940bbc39280e3de6f4bfdfcc85dbf556244dd04
parent6d4126d4857bfd5f6c4aee12e629e6241e15599c (diff)
Fix psalm
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/Service/ParticipantService.php1
-rw-r--r--psalm.xml1
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/ParticipantService.php b/lib/Service/ParticipantService.php
index 88f1f807c..457937bed 100644
--- a/lib/Service/ParticipantService.php
+++ b/lib/Service/ParticipantService.php
@@ -404,7 +404,6 @@ class ParticipantService {
* @throws ParticipantNotFoundException
*/
public function getCircle(string $circleId, string $userId): Circle {
- /** @var Circles $circlesApi */
try {
$circle = Circles::detailsCircle($circleId);
} catch (\Exception $e) {
diff --git a/psalm.xml b/psalm.xml
index ea6b96759..4ffa77ec0 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -24,6 +24,7 @@
<referencedClass name="Doctrine\DBAL\Platforms\PostgreSQL94Platform" />
<referencedClass name="Doctrine\DBAL\Types\Types" />
<referencedClass name="OC" />
+ <referencedClass name="OCA\Circles\Api\v1\Circles" />
<referencedClass name="OCA\Circles\Model\Circle" />
<referencedClass name="OCA\Circles\Model\Member" />
<referencedClass name="OCA\DAV\CardDAV\PhotoCache" />