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://phpstan.org/r/18f9ed29-3ec0-437d-93d0-e74ea51e45a7
if i add to each line with compare type cast, is fix problem, but this must work without my hack
$this->a = match (true) { (bool)($i >= 30) => 30, (bool)($i >= 20) => 20, (bool)($i >= 10) => 10, default => 0, };
this code have no errors
The text was updated successfully, but these errors were encountered:
Fixed: phpstan/phpstan-src@7acf7ca
Sorry, something went wrong.
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.
No branches or pull requests
Match arm comparison between true and true is always true.
https://phpstan.org/r/18f9ed29-3ec0-437d-93d0-e74ea51e45a7
if i add to each line with compare type cast, is fix problem, but this must work without my hack
this code have no errors
The text was updated successfully, but these errors were encountered: