Skip to content

Commit 83ff17c

Browse files
committed
2 parents c50059e + a53053c commit 83ff17c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/DataStructure/Behavioral/IterableCollection.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
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
}

src/DataStructure/Structural/Collection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use KaririCode\Contract\DataStructure\Behavioral\Countable;
88
use KaririCode\Contract\DataStructure\Behavioral\Indexable;
9-
use KaririCode\Contract\DataStructure\Behavioral\IterableCollection;
109

1110
/**
1211
* Interface Collection.

0 commit comments

Comments
 (0)