-
-
Notifications
You must be signed in to change notification settings - Fork 946
Closed
phpstan/phpstan-src
#3066Labels
Milestone
Description
Bug report
According to the documentation of array_keys, if you specify the second parameter search_value only the keys matching that value are returned. PHPstan seems to believe that it always returns all keys.
Code snippet that reproduces the problem
https://phpstan.org/r/80db9c3d-6084-4a41-80ce-e4a6faebc24e
Expected output
No errors
Reactions are currently unavailable