phpstan-src
phpstan-src copied to clipboard
Add more tests for issue 10622
test in #2948 tested only simple conditional type in @return
as #2948/v1.10.60 release fixed more complex issues, let's assert them with more tests
You've opened the pull request against the latest branch 1.11.x. If your code is relevant on 1.10.x and you want it to be released sooner, please rebase your pull request and change its target to 1.10.x.
This pull request has been marked as ready for review.
Thank you.