aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorFaraz Samapoor <f.samapoor@gmail.com>2024-01-30 12:57:26 +0330
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-02-06 10:02:11 +0100
commite6a4ebcc92ab12314eb0bac2f173b78ee7850b4e (patch)
treec42b75d0830b11f958faf631db2f2b6f04fa3186 /apps/user_ldap
parentf03781b5090e22bfd15d48b6157fa296781b5d65 (diff)
downloadnextcloud-server-e6a4ebcc92ab12314eb0bac2f173b78ee7850b4e.tar.gz
nextcloud-server-e6a4ebcc92ab12314eb0bac2f173b78ee7850b4e.zip
Update apps/user_ldap/lib/Command/Search.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/Command/Search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Command/Search.php b/apps/user_ldap/lib/Command/Search.php
index 3dcaff3cdec..0aba7581d4b 100644
--- a/apps/user_ldap/lib/Command/Search.php
+++ b/apps/user_ldap/lib/Command/Search.php
@@ -84,7 +84,7 @@ class Search extends Command {
*
* @throws \InvalidArgumentException
*/
- protected function validateOffsetAndLimit($offset, $limit): void {
+ protected function validateOffsetAndLimit(int $offset, int $limit): void {
if ($limit < 0) {
throw new \InvalidArgumentException('limit must be 0 or greater');
}