diff options
Diffstat (limited to 'lib/Chat/Parser/UserMention.php')
-rw-r--r-- | lib/Chat/Parser/UserMention.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Chat/Parser/UserMention.php b/lib/Chat/Parser/UserMention.php index a4a1d5901..38a20a2de 100644 --- a/lib/Chat/Parser/UserMention.php +++ b/lib/Chat/Parser/UserMention.php @@ -1,4 +1,5 @@ <?php + declare(strict_types=1); /** * @@ -114,7 +115,7 @@ class UserMention { 'name' => $chatMessage->getRoom()->getDisplayName($chatMessage->getParticipant()->getUser()), 'call-type' => $this->getRoomType($chatMessage->getRoom()), ]; - } else if ($mention['type'] === 'guest') { + } elseif ($mention['type'] === 'guest') { try { $displayName = $this->guestManager->getNameBySessionHash(substr($mention['id'], strlen('guest/'))); } catch (ParticipantNotFoundException $e) { |