From e6a4ebcc92ab12314eb0bac2f173b78ee7850b4e Mon Sep 17 00:00:00 2001 From: Faraz Samapoor Date: Tue, 30 Jan 2024 12:57:26 +0330 Subject: [PATCH] Update apps/user_ldap/lib/Command/Search.php MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Faraz Samapoor --- apps/user_ldap/lib/Command/Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } -- 2.39.5