mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fix code style
This commit is contained in:
parent
e153bc5493
commit
d0b9eff8eb
@ -87,6 +87,8 @@ public function getNotifications() {
|
||||
if (!CHAT_ENABLE_MENU_BADGE) return 0;
|
||||
|
||||
$rooms = $this->getRooms();
|
||||
return array_reduce($rooms, function ($carry, $room) { return $carry + count($room->getUsers()); }, 0);
|
||||
return array_reduce($rooms, function ($carry, $room) {
|
||||
return $carry + count($room->getUsers());
|
||||
}, 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user