Open bless-rng opened 2 weeks ago
As you can see switch block has all cases. Try block also has all cases for correct resolve result. If switch case replace with if else block this case also is correct. Variable $x is not possible to be undefined.
https://psalm.dev/r/14034f3334
I found these snippets:
As you can see switch block has all cases. Try block also has all cases for correct resolve result. If switch case replace with if else block this case also is correct. Variable $x is not possible to be undefined.
https://psalm.dev/r/14034f3334