HH\Iterator::next

( excerpt from http://php.net/manual/en/iterator.next.php )

public function next(): void;

Moves the current position to the next element.

This method is called after each foreach loop.

Returns

  • mixed - Any returned value is ignored.