1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

CachingIterator - Add forgotten constructor parameter. (#4322)

Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
This commit is contained in:
Pol Dellaiera 2020-10-13 17:48:37 +02:00 committed by Daniil Gentili
parent 2b437ad672
commit 9aaf61d220
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -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 () {}