lib/Core/Validator/Validator.php
public function validateOffsetAndLimit(?int $offset, ?int $limit): void
    {
        $this->validate(
            $offset,
            [
                new Constraints\NotBlank(),
            ],
            'offset'
        );

        if ($limit !== null) {
            $this->validate(
                $limit,
                [
                    new Constraints\NotBlank(),
                ],
                'limit'
            );
        }
    }
public function validateOffsetAndLimit(?int $offset, ?int $limit): void
    {
        $this->validate(
            $offset,
            [
                new Constraints\NotBlank(),
            ],
            'offset'
        );

        if ($limit !== null) {
            $this->validate(
                $limit,
                [
                    new Constraints\NotBlank(),
                ],
                'limit'
            );
        }
    }
public function validateOffsetAndLimit ( ? int $ offset , ? int $ limit ) : void { $ this -> validate ( $ offset , [ new Constraints \ NotBlank ( ) , ] , 'offset' ) ; if ( $ limit !== null ) { $ this -> validate ( $ limit , [ new Constraints \ NotBlank ( ) , ] , 'limit' ) ; } }
Validates the provided offset and limit values to be integers.

@throws \Netgen\BlockManager\Exception\Validation\ValidationException If the validation failed
Validates the provided offset and limit values to be integers .