-
Notifications
You must be signed in to change notification settings - Fork 55
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
Psalm false positive with ParamConverter getClass method #213
Comments
Any updates on this? |
@tarlepp I just checked and it seems the phpdoc on See the PR about it #208 |
hmm, in - https://github.com/sensiolabs/SensioFrameworkExtraBundle/blob/master/src/Configuration/ParamConverter.php#L114 - it's returning a string and also that property is string - https://github.com/sensiolabs/SensioFrameworkExtraBundle/blob/master/src/Configuration/ParamConverter.php#L33 Need to raise an issue about this to SensioFrameworkExtraBundle |
Just added
and with that Psalm is ok but Phpstan gives me;
|
https://github.com/sensiolabs/SensioFrameworkExtraBundle/blob/master/src/Configuration/ParamConverter.php
vs.
https://github.com/psalm/psalm-plugin-symfony/blob/master/src/Stubs/common/Bundle/FrameworkExtraBundle/Configuration/ParamConverter.stubphp
Latest version doesn't return
null
anymore.The text was updated successfully, but these errors were encountered: