Skip to content

Fix incorrect PHPDoc return type for ParamFetcher::getParams()#2434

Open
igor-kuzmanovic wants to merge 1 commit intoFriendsOfSymfony:3.xfrom
igor-kuzmanovic:3.x
Open

Fix incorrect PHPDoc return type for ParamFetcher::getParams()#2434
igor-kuzmanovic wants to merge 1 commit intoFriendsOfSymfony:3.xfrom
igor-kuzmanovic:3.x

Conversation

@igor-kuzmanovic
Copy link

getParams() returns an associative array keyed by parameter name.
The current PHPDoc @return ParamInterface[] implies a numeric array/list of values.
This updates the annotation to array<string, ParamInterface>.

@goetas goetas closed this Feb 10, 2026
@goetas goetas reopened this Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments