Replies: 1 comment 1 reply
-
|
I think that |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an Enum and a match condition. I tried to help PHPStan resolving the possible return type but it fails with using the result on the
explodefunction. PHPStan seems to not take into account the result of the match process.https://phpstan.org/r/c6c22699-a92c-422d-b0c0-ddca1e0a5227
I would expect
Operator::characterto only return'foo'|'bar'|'baz'not''|'foo'|'bar'|'baz'.Beta Was this translation helpful? Give feedback.
All reactions