phpstan-src icon indicating copy to clipboard operation
phpstan-src copied to clipboard

Fix `get_class()` on HasMethodType

Open staabm opened this issue 2 years ago • 2 comments
trafficstars

closes https://github.com/phpstan/phpstan/issues/4890

staabm avatar Apr 19 '23 13:04 staabm

You've opened the pull request against the latest branch 1.11.x. If your code is relevant on 1.10.x and you want it to be released sooner, please rebase your pull request and change its target to 1.10.x.

phpstan-bot avatar Apr 19 '23 13:04 phpstan-bot

think I figured it out - I had to re-introduce the TypeTraverser for the EnumCaseObjectType

https://github.com/phpstan/phpstan-src/pull/2350#discussion_r1171591087

staabm avatar Apr 26 '23 05:04 staabm