Skip to content

Form::getHttpData: Clarify return type#333

Open
jtojnar wants to merge 1 commit intonette:masterfrom
jtojnar:httpdata-type
Open

Form::getHttpData: Clarify return type#333
jtojnar wants to merge 1 commit intonette:masterfrom
jtojnar:httpdata-type

Conversation

@jtojnar
Copy link
Contributor

@jtojnar jtojnar commented May 13, 2024

The method will always return an array when htmlId is not specified. This will allow us to remove some PHPStan casts/checks in consuming projects.

  • minor improvement
  • BC break? no
  • doc PR: n/a

The method will always return an array when `htmlName` is not specified.
This will allow us to remove some PHPStan casts/checks in consuming projects.
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.

1 participant