diff --git a/lib/OCP/TalkBackend.php b/lib/OCP/TalkBackend.php index 79600baf75e..c6bfd46cd51 100644 --- a/lib/OCP/TalkBackend.php +++ b/lib/OCP/TalkBackend.php @@ -73,6 +73,7 @@ public function deleteConversation(string $id): void { $this->roomService->deleteRoom($room); } + #[\Override] public function isAllowedToCreateConversations(): bool { $user = $this->userSession->getUser(); if ($user === null) { @@ -82,6 +83,7 @@ public function isAllowedToCreateConversations(): bool { return !$this->config->isNotAllowedToCreateConversations($user); } + #[\Override] public function isEnabledForUser(): bool { $user = $this->userSession->getUser(); if ($user === null) { diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml index 4b188397361..a4d85acfd27 100644 --- a/tests/psalm-baseline.xml +++ b/tests/psalm-baseline.xml @@ -150,12 +150,6 @@ rooms]]> - - - - - -