summaryrefslogtreecommitdiffstats
path: root/lib/private/group.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.php
parentb653ad164b83afbc07d7a82d2e4461dace28ba6a (diff)
downloadnextcloud-server-b5bc37d2e40aba0ab8d3e72e7f7075352839096d.tar.gz
nextcloud-server-b5bc37d2e40aba0ab8d3e72e7f7075352839096d.zip
Fix @return array PHPDocs, in /lib
Diffstat (limited to 'lib/private/group.php')
-rw-r--r--lib/private/group.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/group.php b/lib/private/group.php
index 3191de5310a..5b291d7f2f6 100644
--- a/lib/private/group.php
+++ b/lib/private/group.php
@@ -179,7 +179,7 @@ class OC_Group {
/**
* @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.
@@ -203,7 +203,7 @@ class OC_Group {
* @param string $search
* @param int|null $limit
* @param int|null $offset
- * @return array with group names
+ * @return array an array of group names
*
* Returns a list with all groups
*/
@@ -232,7 +232,7 @@ class OC_Group {
* @param string $search
* @param int $limit
* @param int $offset
- * @return array with user ids
+ * @return array an array of user ids
*/
public static function usersInGroup($gid, $search = '', $limit = -1, $offset = 0) {
$group = self::getManager()->get($gid);
@@ -254,7 +254,7 @@ class OC_Group {
* @param string $search
* @param int $limit
* @param int $offset
- * @return array with user ids
+ * @return array an array of user ids
*/
public static function usersInGroups($gids, $search = '', $limit = -1, $offset = 0) {
$users = array();
@@ -271,7 +271,7 @@ class OC_Group {
* @param string $search
* @param int $limit
* @param int $offset
- * @return array with display names (value) and user ids(key)
+ * @return array an array of display names (value) and user ids(key)
*/
public static function displayNamesInGroup($gid, $search = '', $limit = -1, $offset = 0) {
return self::getManager()->displayNamesInGroup($gid, $search, $limit, $offset);
@@ -283,7 +283,7 @@ class OC_Group {
* @param string $search
* @param int $limit
* @param int $offset
- * @return array with display names (Key) user ids (value)
+ * @return array an array of display names (Key) user ids (value)
*/
public static function displayNamesInGroups($gids, $search = '', $limit = -1, $offset = 0) {
$displayNames = array();