-  
-   Notifications  You must be signed in to change notification settings 
- Fork 933
Closed
Description
Bug report
We are currently facing an issue with the following code.
 We are loosing the array keys through the function which calls our callable.
 The value type is ok.
Code snippet that reproduces the problem
https://phpstan.org/r/3242b627-8e7a-4b49-b863-d1ed2a8abe62
Expected output
There should be no error.
Did PHPStan help you today? Did it make you happy in any way?
Everyday. It helps us keep our code safe.