Skip to content

Conversation

zonuexe
Copy link
Contributor

@zonuexe zonuexe commented Oct 29, 2022

Copy link
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a test. NodeScopeResolverTest that shows NeverType vs namespaced class ObjectType is sufficient.

@ondrejmirtes ondrejmirtes merged commit 18b242c into phpstan:1.9.x Oct 30, 2022
@ondrejmirtes
Copy link
Member

Thank you.

@zonuexe zonuexe deleted the fix/never-type-as-possible-defined branch October 30, 2022 07:13
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.

noreturn not allowed in @return when class is defined
2 participants