Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Finder] Add type on iterator so that IDE will know what finder iterator returns #16965

Copy link
Copy link
Closed
@aurimasniekis

Description

@aurimasniekis
Issue body actions

Maybe it's possible to add phpdoc to suggest type for iterator? Because I hate every time to write like this when using Symfony Finder

/** @var SplFileInfo $file */
foreach ($finder as $file) {
...
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.