mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
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>
This commit is contained in:
parent
f03781b509
commit
e6a4ebcc92
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue