Skip to content

Commit

Permalink
#30 fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
1stthomas committed Mar 10, 2022
1 parent 6149590 commit 8aec8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lists/AbstractItemList.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function getAll()
*
* @return SimpleIndexIterator
*/
public function getIterator()
public function getIterator(): \Traversable
{
return new SimpleIndexIterator($this->getAll());
}
Expand Down

0 comments on commit 8aec8ac

Please sign in to comment.