summaryrefslogtreecommitdiffstats
path: root/lib/private/group
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
parentb653ad164b83afbc07d7a82d2e4461dace28ba6a (diff)
downloadnextcloud-server-b5bc37d2e40aba0ab8d3e72e7f7075352839096d.tar.gz
nextcloud-server-b5bc37d2e40aba0ab8d3e72e7f7075352839096d.zip
Fix @return array PHPDocs, in /lib
Diffstat (limited to 'lib/private/group')
-rw-r--r--lib/private/group/backend.php6
-rw-r--r--lib/private/group/database.php6
-rw-r--r--lib/private/group/dummy.php6
-rw-r--r--lib/private/group/example.php6
-rw-r--r--lib/private/group/interface.php6
-rw-r--r--lib/private/group/manager.php2
6 files changed, 16 insertions, 16 deletions
diff --git a/lib/private/group/backend.php b/lib/private/group/backend.php
index cc61fce1615..c1de99bca58 100644
--- a/lib/private/group/backend.php
+++ b/lib/private/group/backend.php
@@ -93,7 +93,7 @@ abstract class OC_Group_Backend implements OC_Group_Interface {
/**
* @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.
@@ -107,7 +107,7 @@ abstract class OC_Group_Backend implements OC_Group_Interface {
* @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
*/
@@ -131,7 +131,7 @@ abstract class OC_Group_Backend implements OC_Group_Interface {
* @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 = -1, $offset = 0) {
return array();
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 ?',
diff --git a/lib/private/group/dummy.php b/lib/private/group/dummy.php
index 37987f20128..1ef81c6bf99 100644
--- a/lib/private/group/dummy.php
+++ b/lib/private/group/dummy.php
@@ -119,7 +119,7 @@ class OC_Group_Dummy extends OC_Group_Backend {
/**
* @brief Get all groups a user belongs to
* @param $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.
@@ -137,7 +137,7 @@ class OC_Group_Dummy extends OC_Group_Backend {
/**
* @brief get a list of all groups
- * @return array with group names
+ * @return array an array of group names
*
* Returns a list with all groups
*/
@@ -147,7 +147,7 @@ class OC_Group_Dummy extends OC_Group_Backend {
/**
* @brief get a list of all users in a group
- * @return array with user ids
+ * @return array an array of user ids
*/
public function usersInGroup($gid, $search = '', $limit = -1, $offset = 0) {
if(isset($this->groups[$gid])) {
diff --git a/lib/private/group/example.php b/lib/private/group/example.php
index bcd6f814356..12be5421c1c 100644
--- a/lib/private/group/example.php
+++ b/lib/private/group/example.php
@@ -78,7 +78,7 @@ abstract class OC_Group_Example {
/**
* @brief Get all groups a user belongs to
* @param $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.
@@ -87,7 +87,7 @@ abstract class OC_Group_Example {
/**
* @brief get a list of all groups
- * @return array with group names
+ * @return array an array of group names
*
* Returns a list with all groups
*/
@@ -102,7 +102,7 @@ abstract class OC_Group_Example {
/**
* @brief get a list of all users in a group
- * @return array with user ids
+ * @return array an array of user ids
*/
abstract public static function usersInGroup($gid, $search = '', $limit = -1, $offset = 0);
diff --git a/lib/private/group/interface.php b/lib/private/group/interface.php
index 4ef3663837f..74d288d42c0 100644
--- a/lib/private/group/interface.php
+++ b/lib/private/group/interface.php
@@ -45,7 +45,7 @@ interface OC_Group_Interface {
/**
* @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.
@@ -57,7 +57,7 @@ interface OC_Group_Interface {
* @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
*/
@@ -76,7 +76,7 @@ interface OC_Group_Interface {
* @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 = -1, $offset = 0);
diff --git a/lib/private/group/manager.php b/lib/private/group/manager.php
index d31225e3c2e..3eb894a644a 100644
--- a/lib/private/group/manager.php
+++ b/lib/private/group/manager.php
@@ -165,7 +165,7 @@ class Manager extends PublicEmitter {
* @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 function displayNamesInGroup($gid, $search = '', $limit = -1, $offset = 0) {
$group = $this->get($gid);