File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212 * Provides the ability to iterate over a collection.
1313 *
1414 * @author Walmir Silva <walmir.silva@kariricode.org>
15+ * @author Walmir Silva <walmir.silva@kariricode.org>
1516 * @license MIT
1617 *
1718 * @see https://kariricode.org/
@@ -21,7 +22,7 @@ interface IterableCollection extends \Traversable
2122 /**
2223 * Gets an iterator for the collection.
2324 *
24- * @return \Traversable an iterator for the collection
25+ * @return \Iterator an iterator for the collection
2526 */
26- public function getIterator (): \Traversable ;
27+ public function getIterator (): \Iterator ;
2728}
Original file line number Diff line number Diff line change 66
77use KaririCode \Contract \DataStructure \Behavioral \Countable ;
88use KaririCode \Contract \DataStructure \Behavioral \Indexable ;
9- use KaririCode \Contract \DataStructure \Behavioral \IterableCollection ;
109
1110/**
1211 * Interface Collection.
You can’t perform that action at this time.
0 commit comments