add missing return type declaration
This commit is contained in:
parent
dc20a31179
commit
cfce9cbd59
@ -23,7 +23,7 @@ class LazyIterator implements \IteratorAggregate
|
|||||||
$this->iteratorFactory = $iteratorFactory;
|
$this->iteratorFactory = $iteratorFactory;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getIterator()
|
public function getIterator(): \Traversable
|
||||||
{
|
{
|
||||||
yield from ($this->iteratorFactory)();
|
yield from ($this->iteratorFactory)();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user