Skip to content

Conversation

@takaram
Copy link
Contributor

@takaram takaram commented Oct 19, 2025

Improve throw point / impure point handling on anonymous classes when the anonymous class does not declare its own constructor.

Closes phpstan/phpstan#13698

@ondrejmirtes ondrejmirtes merged commit b05cb5e into phpstan:2.1.x Oct 19, 2025
543 of 553 checks passed
@ondrejmirtes
Copy link
Member

Perfect, thank you!

@takaram takaram deleted the fix-13698 branch October 19, 2025 17: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.

Error when calling an impure constructor defined in the parent class of an anonymous class

2 participants