]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update apps/user_ldap/lib/Command/Search.php 39928/head
authorFaraz Samapoor <f.samapoor@gmail.com>
Tue, 30 Jan 2024 09:27:26 +0000 (12:57 +0330)
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>
Tue, 6 Feb 2024 09:02:11 +0000 (10:02 +0100)
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
apps/user_ldap/lib/Command/Search.php

index 3dcaff3cdec42596d2b80c024a40a386145d9b8a..0aba7581d4b55b86aadc440e5d726e504efea800 100644 (file)
@@ -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');
                }