Skip to content

Commit 5fe91c9

Browse files
committed
minor #40161 [Finder] add missing return type declaration (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- [Finder] add missing return type declaration | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | should make builds green again Commits ------- cfce9cb add missing return type declaration
2 parents dc20a31 + cfce9cb commit 5fe91c9

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)