File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -831,13 +831,14 @@ protected function profile_url()
831831 }
832832
833833 /**
834- * Get the ideas a user voted on from a group of ideas
834+ * Get a user's votes from a group of ideas
835835 *
836836 * @param int $user_id The user's id
837- * @param array $ids An array of idea identifiers
838- * @return array An array of ideas the user voted on with their vote result, or empty otherwise.
837+ * @param array $ids An array of idea ids
838+ * @return array An array of ideas the user voted on and their vote result, or empty otherwise.
839839 * example: [idea_id => vote_result]
840- * [1 => 1, 2 => 0] Voted up idea 1, voted down idea 2
840+ * 1 => 1, idea 1, voted up by the user
841+ * 2 => 0, idea 2, voted down by the user
841842 */
842843 protected function get_users_votes ($ user_id , $ ids = [])
843844 {
You can’t perform that action at this time.
0 commit comments