Skip to content

Commit cfce9cb

Browse files
committed
add missing return type declaration
1 parent dc20a31 commit cfce9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Finder/Iterator/LazyIterator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function __construct(callable $iteratorFactory)
2323
$this->iteratorFactory = $iteratorFactory;
2424
}
2525

26-
public function getIterator()
26+
public function getIterator(): \Traversable
2727
{
2828
yield from ($this->iteratorFactory)();
2929
}

0 commit comments

Comments
 (0)