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

Merged
merged 1 commit into from
Aug 18, 2025
Merged

Add missing param type #7313

merged 1 commit into from
Aug 18, 2025

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
@soyuka soyuka merged commit 165040c into api-platform:main Aug 18, 2025
113 of 114 checks passed
@soyuka
Copy link
Member

soyuka commented Aug 18, 2025

thanks!

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