We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please check: https://psalm.dev/r/6324e41df0
I believe that for such case InvalidReturnStatement should not be raised.
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php interface PsalmInterface { /** * @param string[] $params */ public function method(array $params): null; } class PsalmClass implements PsalmInterface { public function method(array $params): null { return null; } }
Psalm output (using commit c7c5a69): ERROR: InvalidReturnStatement - 13:16 - No return values are expected for PsalmClass::method
Sorry, something went wrong.
No branches or pull requests
Please check: https://psalm.dev/r/6324e41df0
I believe that for such case InvalidReturnStatement should not be raised.
The text was updated successfully, but these errors were encountered: