Skip to content

Conversation

patrickkusebauch
Copy link
Contributor

Closes: phpstan/phpstan#11562

Fix poorly documented case of get_debug_type where it provides more specific output in cases where the anonymous class extends another class or implements an interface.

…arent

Fix poorly documented case of `get_debug_type` where it provides more specific output in cases where the anonymous class extends another class or implements an interface.
@patrickkusebauch
Copy link
Contributor Author

None of the failing integration/extension tests seems to be caused by this PR by my estimation.

@ondrejmirtes ondrejmirtes merged commit d528228 into phpstan:1.12.x Aug 31, 2024
488 of 499 checks passed
@ondrejmirtes
Copy link
Member

Thanks a lot!

@patrickkusebauch patrickkusebauch deleted the bugfix/11562 branch August 31, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

get_debug_type produces wrong type for anonymous classes with parent
2 participants