summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_ldap.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-06-27 20:35:47 +0200
committerLukas Reschke <lukas@owncloud.com>2015-06-27 20:35:47 +0200
commitaf01958f3e3c36d850f056b4598b85336878ee2f (patch)
tree0cedb72844c8a084b5f9278f6adae155e496b518 /apps/user_ldap/user_ldap.php
parentd1f0ff372e8c05ced760d4e21060e8d8db9c1963 (diff)
downloadnextcloud-server-af01958f3e3c36d850f056b4598b85336878ee2f.tar.gz
nextcloud-server-af01958f3e3c36d850f056b4598b85336878ee2f.zip
Add missing annotations for parameters
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rw-r--r--apps/user_ldap/user_ldap.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index 014d60c7316..caff30a0e60 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -120,9 +120,11 @@ class USER_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn
/**
* Get a list of all users
- * @return string[] with all uids
*
- * Get a list of all users.
+ * @param string $search
+ * @param null|int $limit
+ * @param null|int $offset
+ * @return string[] an array of all uids
*/
public function getUsers($search = '', $limit = 10, $offset = 0) {
$search = $this->access->escapeFilterPart($search, true);
@@ -328,9 +330,11 @@ class USER_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn
/**
* Get a list of all display names
- * @return array with all displayNames (value) and the correspondig uids (key)
*
- * Get a list of all display names and user ids.
+ * @param string $search
+ * @param string|null $limit
+ * @param string|null $offset
+ * @return array an array of all displayNames (value) and the corresponding uids (key)
*/
public function getDisplayNames($search = '', $limit = null, $offset = null) {
$cacheKey = 'getDisplayNames-'.$search.'-'.$limit.'-'.$offset;