summaryrefslogtreecommitdiffstats
path: root/lib/private/group/database.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-11 18:13:51 +0100
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-13 19:08:14 +0100
commitb5bc37d2e40aba0ab8d3e72e7f7075352839096d (patch)
tree75763a2a8452bd1ab6486fed74994cb207310ece /lib/private/group/database.php
parentb653ad164b83afbc07d7a82d2e4461dace28ba6a (diff)
downloadnextcloud-server-b5bc37d2e40aba0ab8d3e72e7f7075352839096d.tar.gz
nextcloud-server-b5bc37d2e40aba0ab8d3e72e7f7075352839096d.zip
Fix @return array PHPDocs, in /lib
Diffstat (limited to 'lib/private/group/database.php')
-rw-r--r--lib/private/group/database.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/group/database.php b/lib/private/group/database.php
index df0d84d0d2a..abdf09a9222 100644
--- a/lib/private/group/database.php
+++ b/lib/private/group/database.php
@@ -140,7 +140,7 @@ class OC_Group_Database extends OC_Group_Backend {
/**
* @brief Get all groups a user belongs to
* @param string $uid Name of the user
- * @return array with group names
+ * @return array an array of group names
*
* This function fetches all groups a user belongs to. It does not check
* if the user exists at all.
@@ -163,7 +163,7 @@ class OC_Group_Database extends OC_Group_Backend {
* @param string $search
* @param int $limit
* @param int $offset
- * @return array with group names
+ * @return array an array of group names
*
* Returns a list with all groups
*/
@@ -197,7 +197,7 @@ class OC_Group_Database extends OC_Group_Backend {
* @param string $search
* @param int $limit
* @param int $offset
- * @return array with user ids
+ * @return array an array of user ids
*/
public function usersInGroup($gid, $search = '', $limit = null, $offset = null) {
$stmt = OC_DB::prepare('SELECT `uid` FROM `*PREFIX*group_user` WHERE `gid` = ? AND `uid` LIKE ?',