Bug report
It looks like PHPStan thinks we're filtering by array values of type object while the filtering is done by its keys of type string.
Code snippet that reproduces the problem
https://phpstan.org/r/70f7e6ab-e67c-4ab3-96ee-fcdeb532df52
Expected output
No error reported.