public function next()
    {
        if ($this->removedActive === true && current($this->array)) {
            $var = $this->prev();
        } else {
            $var = next($this->array);
        }

        $this->valid = (false !== $var);
    }