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
class C { public string $a = ''; public string $b = ''; } function testElse(C $obj) : void { if ($obj->a === "foo") { } elseif ($obj->b === "bar") { } else if ($obj->b === "baz") {} if ($obj->b === "baz") {} } function testElseif(C $obj) : void { if ($obj->a === "foo") { } elseif ($obj->b === "bar") { } elseif ($obj->b === "baz") {} if ($obj->b === "baz") {} }
https://psalm.dev/r/730908ebe7
Expected: no issue Actual: erroneous output in elseif test
elseif
The text was updated successfully, but these errors were encountered:
fbd1cf0
No branches or pull requests
https://psalm.dev/r/730908ebe7
Expected: no issue
Actual: erroneous output in
elseif
testThe text was updated successfully, but these errors were encountered: