Skip to content

Commit

Permalink
Possible fix for Iterator stub
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Dec 14, 2021
1 parent 38bfb84 commit 3dc94e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions stubs/iterable.stub
Expand Up @@ -43,6 +43,15 @@ interface Iterator extends Traversable
*/
public function key();

/** @return void */
public function next(): void;

/** @return void */
public function rewind(): void;

/** @return bool */
public function valid(): bool;

}

/**
Expand Down

0 comments on commit 3dc94e1

Please sign in to comment.