Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
/**
* 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
/**
* 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);
/**
* 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);