Skip to content

Commit

Permalink
CachingIterator - Add forgotten constructor parameter. (#4322)
Browse files Browse the repository at this point in the history
Signed-off-by: Pol Dellaiera <[email protected]>
  • Loading branch information
drupol authored and muglug committed Oct 15, 2020
1 parent 27ad1c2 commit e07c259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/CoreGenericClasses.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class CachingIterator extends IteratorIterator implements OuterIterator , ArrayA
/**
* @param Iterator<TKey, TValue> $iterator
*/
public function __construct(Iterator $iterator) {}
public function __construct(Iterator $iterator, int $flags = self::CALL_TOSTRING) {}

/** @return bool */
public function hasNext () {}
Expand Down

0 comments on commit e07c259

Please sign in to comment.