From 743267eba4bf0558337dcb47f0f8c382f2b25b69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Mon, 29 Nov 2021 11:42:27 +0100 Subject: [PATCH] Fix LDAP related docblocks types MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- apps/user_ldap/lib/ILDAPWrapper.php | 2 +- 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); -- 2.39.5