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
https://psalm.dev/r/844d55abf9
The text was updated successfully, but these errors were encountered:
I found these snippets:
<?php class A { public function foo() : Exception { return new Exception; } } throw (new A)->foo();
Psalm output (using commit 6d4d166): ERROR: PossiblyUnusedReturnValue - 4:29 - The return value for this method is never used
Sorry, something went wrong.
Mark return values in as throw argument as used
throw
b191286
Fixes vimeo#5975
Mark return values in as throw argument as used (#5989)
6d4262e
Fixes #5975
weirdan
Successfully merging a pull request may close this issue.
https://psalm.dev/r/844d55abf9
The text was updated successfully, but these errors were encountered: