Skip to content

[DeadCode] Clean up TypeHasher on Union Type#5792

Merged
samsonasik merged 2 commits intomainfrom
clean-up-type-hasher
Apr 3, 2024
Merged

[DeadCode] Clean up TypeHasher on Union Type#5792
samsonasik merged 2 commits intomainfrom
clean-up-type-hasher

Conversation

@samsonasik
Copy link
Copy Markdown
Member

Ref #5684

For clean up TypeHasher on Union type, and specific on dead param, keep mark SomeClass|SomeInterface as not dead param as before with Union vs FullyQualified check.

{
/**
* @var int|string|bool
* @var bool|int|string
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this is sorted docblock by phpstan, previous clone and map cause overlapped types and not stable definition.

@samsonasik
Copy link
Copy Markdown
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it to have faster feedback to test ;)

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.

1 participant