diff --git a/src/mongoose.js b/src/mongoose.js
index 55c82cff95711e5fd9cde95554debb1e8890ebf3..f6ab944337a214ab3ceba2b192348910ac4cee16 100755
--- a/src/mongoose.js
+++ b/src/mongoose.js
@@ -221,7 +221,7 @@ const modifyConnectedUserToGroupByGroupID = (groupID, userID, connectTo) => grou
  * Finds all the connected users in the searched group.
  *
  * @param {string} groupID - The group ID to search the connected users in.
- * @returns {Promise<[]>} The connected users of the group
+ * @returns {Promise<Array<string>>} The connected users of the group
  */
 const findConnectedMembersByGroupID = (groupID) => group.findOne({"_id":groupID}).exec().then(foundGroup => {
     let connectedUsers = [];