Adapt interface to new search signature

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2022-09-08 14:47:50 +02:00
parent 50a52ac2a5
commit e872f461f2
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -154,7 +154,7 @@ interface ILDAPWrapper {
* @param int $limit optional, limits the result entries
* @return resource|\LDAP\Result|false an LDAP search result resource, false on error
*/
public function search($link, $baseDN, $filter, $attr, $attrsOnly = 0, $limit = 0);
public function search($link, string $baseDN, string $filter, array $attr, int $attrsOnly = 0, int $limit = 0, int $pageSize = 0, string $cookie = '');
/**
* Replace the value of a userPassword by $password