rectorphp / type-perfect

Next level type declaration check PHPStan rules
https://getrector.com/blog/introducing-type-perfect-for-extra-safety
MIT License
74 stars 4 forks source link

NarrowPublicClassMethodParamTypeRule: Added failling test-case #33

Closed staabm closed 1 month ago

staabm commented 3 months ago

NarrowPublicClassMethodParamTypeRule should not suggest a addition of a type based on phpdoc

staabm commented 3 months ago

I don't know how this should be fixed at best.


I think most of this occurences have the same/similar problem

grafik

TomasVotruba commented 1 month ago

Going through stale issues and closing "the ideas" one to keep focus on PRs and change. Feel free to propose a PR with a fix/feature :+1:

Thanks for understanding