Skip to content

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Sep 8, 2025

as discussed in #4294 (comment) we add a new VirtualNode type which can carry a native-type in tandem with a phpdoc type.

before this PR, we only had TypeExpr which was not able to provide 2 types, but just a single one.

so this PR fixes a few shortcomings, which we accepted with a recent change in 4702c2b

@ondrejmirtes
Copy link
Member

It seems like two more issues are getting fixed.

@ondrejmirtes ondrejmirtes merged commit 22d340b into phpstan:2.1.x Sep 8, 2025
448 of 455 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

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.

2 participants