Bug report
Currently, only the first Closure is analysed.
Code snippet that reproduces the problem
https://phpstan.org/r/06a4c6f9-99ec-4f9c-a8ca-d4a14633b153
once fixed, check https://phpstan.org/r/d77648c1-796f-41b3-abc0-a548b71ff927
Expected output
no phpstan error