1
0
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:
Tim Düsterhus 2014-12-10 00:15:48 +01:00
parent e153bc5493
commit d0b9eff8eb

View File

@ -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);
}
}