Skip to content

Commit

Permalink
#2255 - Fix signature in method of Iterator classes and interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Sep 11, 2021
1 parent 425702e commit 417c147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stub/arrayiterator.zep
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ArrayIterator implements \Iterator
let this->position++;
}

public function valid()
public function valid() -> bool
{
return isset this->test[this->position];
}
Expand Down

0 comments on commit 417c147

Please sign in to comment.