mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #60145 from nextcloud/kano-override
Fix missing Override
This commit is contained in:
commit
456c3abc57
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