phpstan-src icon indicating copy to clipboard operation
phpstan-src copied to clipboard

Fix Closure::fromCallable and first-class callables not propagating templates.

Open mad-briller opened this issue 1 year ago • 0 comments

Also improves the array_map return type extension to be smarter about generic callables, specifically for single argument constant arrays.

This improves the situation of https://github.com/phpstan/phpstan/issues/10685 but i hesitate to say it solves it, there are some underlying issues that i'll add to the relevant test locations on this pr

mad-briller avatar Mar 09 '24 13:03 mad-briller