Make array_map understand union of callables.#2902
Make array_map understand union of callables.#2902ondrejmirtes merged 2 commits intophpstan:1.10.xfrom
Conversation
|
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. |
4206cf7 to
eac0a6c
Compare
eac0a6c to
fe07a03
Compare
|
Awesome! This fixes a bunch of issues (https://github.com/phpstan/phpstan-src/actions/runs/7974759948):
Please add regression tests for them - I think type inference tests in NodeScopeResolverTest should be fine. Please put the new files in dataFileAsserts in random places and not at the end, it makes the merge conflict to be less probable :) |
|
@ondrejmirtes i've investigated the those issues and found that phpstan/phpstan#3818 appears to be an issue regarding the application of however all the others are solved by this change! 🎉 you love to see it |
9a5dfef to
3be5942
Compare
3be5942 to
7114662
Compare
|
Awesome, thank you very much! |
Fixes phpstan/phpstan#10442