mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Merge pull request #9646 from SenseException/iteratoriterator-construct
fix: add missing constructor parameter to IteratorIterator
This commit is contained in:
commit
eb83938a2d
@ -114,7 +114,7 @@ class IteratorIterator implements OuterIterator {
|
||||
/**
|
||||
* @param TIterator $iterator
|
||||
*/
|
||||
public function __construct(Traversable $iterator) {}
|
||||
public function __construct(Traversable $iterator, ?string $class = null) {}
|
||||
|
||||
/**
|
||||
* @return TValue|null current value or null when iterator is drained
|
||||
|
Loading…
Reference in New Issue
Block a user