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
A parent constructor call should be considered the same as a void method in terms of its side effects, but it seems not to be.
void
https://phpstan.org/r/8fe57cd0-e03f-44d4-a833-cc058de14a77 Demonstration: https://3v4l.org/ZVjQ5
An error should be reported on line 21 that doSomething() is being called on Thing|null.
doSomething()
Thing|null
The text was updated successfully, but these errors were encountered:
Fixed: phpstan/phpstan-src@c8174d5
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
Bug report
A parent constructor call should be considered the same as a
void
method in terms of its side effects, but it seems not to be.Code snippet that reproduces the problem
https://phpstan.org/r/8fe57cd0-e03f-44d4-a833-cc058de14a77
Demonstration: https://3v4l.org/ZVjQ5
Expected output
An error should be reported on line 21 that
doSomething()
is being called onThing|null
.The text was updated successfully, but these errors were encountered: