From: Faraz Samapoor Date: Tue, 30 Jan 2024 09:27:26 +0000 (+0330) Subject: Update apps/user_ldap/lib/Command/Search.php X-Git-Tag: v29.0.0beta1~292^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e6a4ebcc92ab12314eb0bac2f173b78ee7850b4e;p=nextcloud-server.git 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 --- 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'); }