summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/group_proxy.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-15 13:12:17 +0100
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2014-05-16 22:21:57 +0100
commita17f9111a087055306f8aabf1b4a0c4aca9684e8 (patch)
treeeca4b8300adc640630f5b3f5478aa3b728668e7d /apps/user_ldap/group_proxy.php
parentc4f1de63a8ebe137566e034641b7bc3b05a05058 (diff)
downloadnextcloud-server-a17f9111a087055306f8aabf1b4a0c4aca9684e8.tar.gz
nextcloud-server-a17f9111a087055306f8aabf1b4a0c4aca9684e8.zip
PHPDoc fixes for user_ldap
Diffstat (limited to 'apps/user_ldap/group_proxy.php')
-rw-r--r--apps/user_ldap/group_proxy.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/user_ldap/group_proxy.php b/apps/user_ldap/group_proxy.php
index 555587b1bfa..672e8a69d12 100644
--- a/apps/user_ldap/group_proxy.php
+++ b/apps/user_ldap/group_proxy.php
@@ -31,7 +31,7 @@ class Group_Proxy extends lib\Proxy implements \OCP\GroupInterface {
/**
* @brief Constructor
- * @param array $serverConfigPrefixes array containing the config Prefixes
+ * @param string[] $serverConfigPrefixes array containing the config Prefixes
*/
public function __construct($serverConfigPrefixes, ILDAPWrapper $ldap) {
parent::__construct($ldap);
@@ -109,7 +109,7 @@ class Group_Proxy extends lib\Proxy implements \OCP\GroupInterface {
/**
* @brief Get all groups a user belongs to
* @param string $uid Name of the user
- * @return array with group names
+ * @return string[] with group names
*
* This function fetches all groups a user belongs to. It does not check
* if the user exists at all.
@@ -129,7 +129,7 @@ class Group_Proxy extends lib\Proxy implements \OCP\GroupInterface {
/**
* @brief get a list of all users in a group
- * @return array with user ids
+ * @return string[] with user ids
*/
public function usersInGroup($gid, $search = '', $limit = -1, $offset = 0) {
$users = array();
@@ -146,8 +146,8 @@ class Group_Proxy extends lib\Proxy implements \OCP\GroupInterface {
/**
* @brief returns the number of users in a group, who match the search term
- * @param string the internal group name
- * @param string optional, a search string
+ * @param string $gid the internal group name
+ * @param string $search optional, a search string
* @return int | bool
*/
public function countUsersInGroup($gid, $search = '') {
@@ -157,7 +157,7 @@ class Group_Proxy extends lib\Proxy implements \OCP\GroupInterface {
/**
* @brief get a list of all groups
- * @return array with group names
+ * @return string[] with group names
*
* Returns a list with all groups
*/