diff options
author | Joas Schilling <coding@schilljs.com> | 2021-03-17 09:36:06 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-03-17 09:51:31 +0100 |
commit | 3379e69ecc092da6897f38a0be30e917a38f5439 (patch) | |
tree | 47a2a1e539de8d8d7fa50f6b2fb8d53a99aa9f67 /apps/user_ldap | |
parent | 47e14c9a79c15be14e2d899a5b931f1d0cf845b5 (diff) | |
download | nextcloud-server-3379e69ecc092da6897f38a0be30e917a38f5439.tar.gz nextcloud-server-3379e69ecc092da6897f38a0be30e917a38f5439.zip |
Fix parameter types in docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/lib/User_LDAP.php | 10 | ||||
-rw-r--r-- | apps/user_ldap/lib/User_Proxy.php | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/apps/user_ldap/lib/User_LDAP.php b/apps/user_ldap/lib/User_LDAP.php index 79f230ae00b..12d93ce5c8a 100644 --- a/apps/user_ldap/lib/User_LDAP.php +++ b/apps/user_ldap/lib/User_LDAP.php @@ -133,7 +133,7 @@ class User_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn return false; } } - + /** * returns the username for the given LDAP DN, if available * @@ -502,8 +502,8 @@ class User_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn * Get a list of all display names * * @param string $search - * @param string|null $limit - * @param string|null $offset + * @param int|null $limit + * @param int|null $offset * @return array an array of all displayNames (value) and the corresponding uids (key) */ public function getDisplayNames($search = '', $limit = null, $offset = null) { @@ -574,7 +574,7 @@ class User_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn public function getBackendName() { return 'LDAP'; } - + /** * Return access for LDAP interaction. * @param string $uid @@ -583,7 +583,7 @@ class User_LDAP extends BackendUtility implements \OCP\IUserBackend, \OCP\UserIn public function getLDAPAccess($uid) { return $this->access; } - + /** * Return LDAP connection resource from a cloned connection. * The cloned connection needs to be closed manually. diff --git a/apps/user_ldap/lib/User_Proxy.php b/apps/user_ldap/lib/User_Proxy.php index e8d0a6d6948..532d8ff4cb6 100644 --- a/apps/user_ldap/lib/User_Proxy.php +++ b/apps/user_ldap/lib/User_Proxy.php @@ -292,8 +292,8 @@ class User_Proxy extends Proxy implements \OCP\IUserBackend, \OCP\UserInterface, * Get a list of all display names and user ids. * * @param string $search - * @param string|null $limit - * @param string|null $offset + * @param int|null $limit + * @param int|null $offset * @return array an array of all displayNames (value) and the corresponding uids (key) */ public function getDisplayNames($search = '', $limit = null, $offset = null) { |