mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
chore: Fix missing Override
CI/Psalm fails on master since 109eb0c8a9
This should hopefully fix that.
Signed-off-by: Micke Nordin <kano@sunet.se>
This commit is contained in:
parent
020c4e9b59
commit
a874a1c9ca
1 changed files with 2 additions and 0 deletions
|
|
@ -96,6 +96,7 @@ class Broker implements IBroker {
|
|||
$this->backend->deleteConversation($id);
|
||||
}
|
||||
|
||||
#[\Override]
|
||||
public function isAllowedToCreateConversations(): bool {
|
||||
if (!$this->isEnabledForUser()) {
|
||||
return false;
|
||||
|
|
@ -104,6 +105,7 @@ class Broker implements IBroker {
|
|||
return $this->backend->isAllowedToCreateConversations();
|
||||
}
|
||||
|
||||
#[\Override]
|
||||
public function isEnabledForUser(): bool {
|
||||
if (!$this->hasBackend()) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue