calebdw / larastan

⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
MIT License
4 stars 0 forks source link

fix: properly handle static called on type for query #12

Closed calebdw closed 2 months ago

calebdw commented 2 months ago

Upstream PR: https://github.com/larastan/larastan/pull/2030

rcerljenko commented 2 months ago

Hi,

Just FYI, the problem fixed itself with a new phpstan patch release => https://github.com/phpstan/phpstan/releases/tag/1.12.2

But, it's still a good idea to have this I think...

calebdw commented 2 months ago

@rcerljenko, thanks for the comment, however, I'm not sure what you think the problem is, but this is still needed---the tests I introduced in this PR fail even when PHPStan 1.12.2 is used