Replies: 2 comments 5 replies
-
|
this may not be the right place to ask but i'll ask anyway, whats the difference between UnionType and BenevolentUnionType? |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
The problem with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was confused a bit by the fact that the following statements return different results. I assume this is on purpose, right? It currently leads to behaviour change where I try to replace a couple of isSuperTypeOf with isString in combination with the default array keys
(int|string).Is there anything that should be adapted in phpstan or could be done different? In case where e.g. rules want to find out if a key is a string or int it comes done to what you use or in which order I guess.
Beta Was this translation helpful? Give feedback.
All reactions