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
I recently implemented the same dynamic return type on psalm for exception::getCode() than it was implemented for phpstan
But it seems like it's wrong as reported in the psalm issue vimeo/psalm#7672
Since PDOException extends RuntimeException, we have the following issue https://phpstan.org/r/42089d28-dbaa-4b67-ac00-154372ce55a8 vs https://3v4l.org/RBCW0
Also not all PDOException::getCode() return a string https://3v4l.org/VbUUa
The text was updated successfully, but these errors were encountered:
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug report
I recently implemented the same dynamic return type on psalm for exception::getCode() than it was implemented for phpstan
But it seems like it's wrong as reported in the psalm issue vimeo/psalm#7672
Since PDOException extends RuntimeException, we have the following issue
https://phpstan.org/r/42089d28-dbaa-4b67-ac00-154372ce55a8
vs https://3v4l.org/RBCW0
Also not all PDOException::getCode() return a string
https://3v4l.org/VbUUa
The text was updated successfully, but these errors were encountered: