diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-11-29 11:42:27 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2021-12-16 09:43:31 +0100 |
commit | 743267eba4bf0558337dcb47f0f8c382f2b25b69 (patch) | |
tree | f86c93610d0c31b643964b8d3c7d7b42f0c06057 | |
parent | 24e9a29b3cd520cda57140f5e061507dd2cbdd20 (diff) | |
download | nextcloud-server-743267eba4bf0558337dcb47f0f8c382f2b25b69.tar.gz nextcloud-server-743267eba4bf0558337dcb47f0f8c382f2b25b69.zip |
Fix LDAP related docblocks types
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r-- | apps/user_ldap/lib/ILDAPWrapper.php | 2 | ||||
-rw-r--r-- | lib/public/LDAP/ILDAPProvider.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/lib/ILDAPWrapper.php b/apps/user_ldap/lib/ILDAPWrapper.php index 9917898a001..3f600a40cc0 100644 --- a/apps/user_ldap/lib/ILDAPWrapper.php +++ b/apps/user_ldap/lib/ILDAPWrapper.php @@ -147,7 +147,7 @@ interface ILDAPWrapper { /** * Read an entry * @param resource|\LDAP\Connection $link LDAP link resource - * @param array $baseDN The DN of the entry to read from + * @param string $baseDN The DN of the entry to read from * @param string $filter An LDAP filter * @param array $attr array of the attributes to read * @return resource|\LDAP\Result an LDAP search result resource diff --git a/lib/public/LDAP/ILDAPProvider.php b/lib/public/LDAP/ILDAPProvider.php index 0355a0052c4..8fad3bd2266 100644 --- a/lib/public/LDAP/ILDAPProvider.php +++ b/lib/public/LDAP/ILDAPProvider.php @@ -79,7 +79,7 @@ interface ILDAPProvider { /** * Return a new LDAP connection resource for the specified user. * @param string $uid user id - * @return resource of the LDAP connection + * @return \LDAP\Connection|resource * @since 11.0.0 */ public function getLDAPConnection($uid); @@ -87,7 +87,7 @@ interface ILDAPProvider { /** * Return a new LDAP connection resource for the specified group. * @param string $gid group id - * @return resource of the LDAP connection + * @return \LDAP\Connection|resource * @since 13.0.0 */ public function getGroupLDAPConnection($gid); |