-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
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
Parser: SimpleArithmeticExpression should return ArithmeticTerm #9557
Conversation
Can you please update the baselines of Psalm and PHPStan? |
@derrabus I tried to fix the baseline. Please enable the tests. Thank you. |
Both baselines are generated files. Don't edit them manually. ./vendor/bin/phpstan --generate-baseline
./vendor/bin/psalm --no-cache --set-baseline=psalm-baseline.xml |
Sorry for the trouble with our tooling. But fixing doc blocks in most cases means that static analysis will report Your fix is certainly correct. I've reviewed the return types on |
* 2.11.x: Parser: SimpleArithmeticExpression should return ArithmeticTerm (#9557)
Bugfix of return type error.
The
SimpleArithmeticExpression()
method can also return anArithmeticTerm
type that is not defined in the annotation.Example: