-
-
Notifications
You must be signed in to change notification settings - Fork 947
No inference for variables declared inside chained calls #12663
Copy link
Copy link
Closed
phpstan/phpstan-src
#4787Closed
Copy link
Labels
Milestone
Description
Bug report
PHPStan considers variables, declared throughout an expression as mixed.
Code snippet that reproduces the problem
Expected output
No errors, the code is correct, see https://psalm.dev/r/8d88621b03 and https://3v4l.org/qt36V.
Did PHPStan help you today? Did it make you happy in any way?
No response
Reactions are currently unavailable