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'); }