protected function validateLimit(): void
    {
        $limit = $this->getArrayValue($this->joryArray, ['lmt', 'limit']);

        // No limit set, that's ok. return.
        if ($limit === null) {
            return;
        }

        if (! is_int($limit)) {
            throw new JoryException('The limit parameter should be an integer value. (Location: '.$this->address.'limit)');
        }
    }
protected function validateLimit(): void
    {
        $limit = $this->getArrayValue($this->joryArray, ['lmt', 'limit']);

        // No limit set, that's ok. return.
        if ($limit === null) {
            return;
        }

        if (! is_int($limit)) {
            throw new JoryException('The limit parameter should be an integer value. (Location: '.$this->address.'limit)');
        }
    }
protected function validateLimit ( ) : void { $ limit = $ this -> getArrayValue ( $ this -> joryArray , [ 'lmt' , 'limit' ] ) ; // No limit set, that's ok. return. if ( $ limit === null ) { return ; } if ( ! is_int ( $ limit ) ) { throw new JoryException ( 'The limit parameter should be an integer value. (Location: ' . $ this -> address . 'limit)' ) ; } }
Validate the limit value
Throws a JoryException on failure.

@throws JoryException
Validate the limit value Throws a JoryException on failure .