Skip to content

Add missing param type #7313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VincentLanglet
Copy link
Contributor

@VincentLanglet VincentLanglet commented Jul 25, 2025

Q A
Branch? main
Tickets Closes #..., closes #...
License MIT
Doc PR api-platform/docs#...

Hi @soyuka

I forgot about it, but as promised I'll try to fix more phpstan error.
Here, I added every missing parameter type.

It's often phpdoc to unsure BC, because multiple of those method could have work with some other type (because of early return). I only added typehint is mixed or

  • When the class is final
  • The method couldn't have work with another type because it use another method which IS already native typed.

@VincentLanglet VincentLanglet marked this pull request as ready for review July 25, 2025 11:58
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