public function getMarkedUnreadConversationList($userId, $ignoreList = array()) { $list = $this->conversationDao->getMarkedUnreadConversationList($userId, $ignoreList, $this->getActiveModeList()); foreach ($list as $id => $value) { $list[$id] = (int) $value; } return $list; }