From 278515139db5100d9c4eebdcb6086f164d3939e1 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=UTF-8 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 3dcaff3cdec42..0aba7581d4b55 100644 --- a/apps/user_ldap/lib/Command/Search.php +++ b/apps/user_ldap/lib/Command/Search.php @@ -84,7 +84,7 @@ protected function configure(): void { * * @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'); }