mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
CachingIterator - Add forgotten constructor parameter. (#4322)
Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
This commit is contained in:
parent
2b437ad672
commit
9aaf61d220
@ -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 () {}
|
||||
|
Loading…
Reference in New Issue
Block a user