protected function validateOffset(): void
    {
        $offset = $this->getArrayValue($this->joryArray, ['ofs', 'offset']);

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

        if (! is_int($offset)) {
            throw new JoryException('The offset parameter should be an integer value. (Location: '.$this->address.'offset)');
        }
    }