Closed
Description
Bug report
PHPStan does not discover the correct type after array_column with null
as second parameter
Code snippet that reproduces the problem
https://phpstan.org/r/993496ae-b291-4bad-9e90-eacff7524cf1
Expected output
No error / dumped type array<string, array{foo: string, bar: int}>
Did PHPStan help you today? Did it make you happy in any way?
Absolutely! Keep up the good work and fast responses!