]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix LDAP related docblocks types
authorCôme Chilliet <come.chilliet@nextcloud.com>
Mon, 29 Nov 2021 10:42:27 +0000 (11:42 +0100)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 16 Dec 2021 08:43:31 +0000 (09:43 +0100)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/user_ldap/lib/ILDAPWrapper.php
lib/public/LDAP/ILDAPProvider.php

index 9917898a001b6a6129f17e7c7be2f8170964a23b..3f600a40cc0e5f93c4c9a8839c37202b673f4243 100644 (file)
@@ -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
index 0355a0052c41576fc0e4e7d3c9af8198d85f2a66..8fad3bd2266ea380cb06d23b35d0ce70e99e5559 100644 (file)
@@ -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);