Skip to content

Commit a9bc343

Browse files
committed
Remove mention of Generator in CachingIterator comments
This was overlooked from 52df7a1
1 parent f143c25 commit a9bc343

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/Model/CachingIterator.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,9 @@ class CachingIterator implements Countable, Iterator
5252

5353
/**
5454
* Initialize the iterator and stores the first item in the cache. This
55-
* effectively rewinds the Traversable and the wrapping Generator, which
56-
* will execute up to its first yield statement. Additionally, this mimics
57-
* behavior of the SPL iterators and allows users to omit an explicit call
58-
* to rewind() before using the other methods.
55+
* effectively rewinds the Traversable and the wrapping IteratorIterator.
56+
* Additionally, this mimics behavior of the SPL iterators and allows users
57+
* to omit an explicit call * to rewind() before using the other methods.
5958
*
6059
* @param Traversable $traversable
6160
*/

0 commit comments

Comments
 (0)