summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/ILDAPWrapper.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-08-25 16:57:25 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-10-20 12:56:14 +0200
commitd790d45567d81b97fdee87e154bd230b03a1a20a (patch)
tree2c70406b70516c0c02a876762aa0f5d3506de260 /apps/user_ldap/lib/ILDAPWrapper.php
parent53b6d67bc19dfb75b6be64cae9ffeaf6fbfbdd6d (diff)
downloadnextcloud-server-d790d45567d81b97fdee87e154bd230b03a1a20a.tar.gz
nextcloud-server-d790d45567d81b97fdee87e154bd230b03a1a20a.zip
Remove dead code in paged result handling
There is only one paged result API now that PHP 7.2 is long dead. Starting by removing empty function calls. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/user_ldap/lib/ILDAPWrapper.php')
-rw-r--r--apps/user_ldap/lib/ILDAPWrapper.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/ILDAPWrapper.php b/apps/user_ldap/lib/ILDAPWrapper.php
index e72d85ac2b9..1de871c66bd 100644
--- a/apps/user_ldap/lib/ILDAPWrapper.php
+++ b/apps/user_ldap/lib/ILDAPWrapper.php
@@ -58,9 +58,8 @@ interface ILDAPWrapper {
* @param int $pageSize number of results per page
* @param bool $isCritical Indicates whether the pagination is critical of not.
* @param string $cookie structure sent by LDAP server
- * @return bool true on success, false otherwise
*/
- public function controlPagedResult($link, $pageSize, $isCritical);
+ public function controlPagedResult($link, $pageSize, $isCritical): void;
/**
* Retrieve the LDAP pagination cookie