Skip to content

Commit cb8a423

Browse files
committed
Add IteratorAggregate type hints
1 parent 783c623 commit cb8a423

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Tmdb/Model/Common/GenericCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function count()
5656
/**
5757
* @return ArrayIterator|Traversable
5858
*/
59-
public function getIterator()
59+
public function getIterator(): Traversable
6060
{
6161
return new ArrayIterator($this->data);
6262
}

0 commit comments

Comments
 (0)