Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce UnionType::filterTypes #3607

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

VincentLanglet
Copy link
Contributor

No description provided.

@ondrejmirtes
Copy link
Member

Why it would be nullable? Just make it return self.

@VincentLanglet
Copy link
Contributor Author

Why it would be nullable? Just make it return self.

I cannot return self, but I can return Type. I updated the PR.

@VincentLanglet VincentLanglet marked this pull request as ready for review November 5, 2024 15:57
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

@ondrejmirtes ondrejmirtes merged commit 88b12f8 into phpstan:1.12.x Nov 5, 2024
451 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.

None yet

3 participants