Skip to content

Commit 4e8e9c9

Browse files
committed
chore(finder): add better type information using phpdoc
1 parent e48850b commit 4e8e9c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Finder/Finder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
* @author Fabien Potencier <[email protected]>
3939
*
40-
* @implements \IteratorAggregate<string, SplFileInfo>
40+
* @implements \IteratorAggregate<non-empty-string, SplFileInfo>
4141
*/
4242
class Finder implements \IteratorAggregate, \Countable
4343
{
@@ -657,7 +657,7 @@ public function in(string|array $dirs): static
657657
*
658658
* This method implements the IteratorAggregate interface.
659659
*
660-
* @return \Iterator<string, SplFileInfo>
660+
* @return \Iterator<non-empty-string, SplFileInfo>
661661
*
662662
* @throws \LogicException if the in() method has not been called
663663
*/

0 commit comments

Comments
 (0)