src/Composer/DependencyResolver/RuleWatchChain.php
public function seek($offset)
    {
        $this->rewind();
        for ($i = 0; $i < $offset; $i++, $this->next());
    }
public function seek($offset)
    {
        $this->rewind();
        for ($i = 0; $i < $offset; $i++, $this->next());
    }
Moves the internal iterator to the specified offset

@param int $offset The offset to seek to.