phpstan / phpdoc-parser

Next-gen phpDoc parser with support for intersection types and generics
MIT License
1.32k stars 62 forks source link

Allow unparenthesized conditional type in conditional else branch #153

Closed rvanvelzen closed 1 year ago

rvanvelzen commented 1 year ago

Fix #152. Note that only the else branch allows another unparenthesized conditional, to mirror Psalm's behaviour.

ondrejmirtes commented 1 year ago

Thank you!

staabm commented 1 year ago

Thanks Richard!