You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without ?? it first says string which is partially true and then says Offset 'a51' does not exist on array... which is partially true.
It would be clearer if instead of both messages phpstan debug would report just one: Dumped type: string, offset 'a51' is optional in array..., but I'm not sure how complex this improvement would be.
Bug report
There's a array param with 63 keys (condensed code ):
Not really sure what is happening here. If I remove any key - the problem goes away: i.e. the type shows up correctly as string for both lines.
Code snippet that reproduces the problem
https://phpstan.org/r/f79adf76-c8e5-46f9-8615-c887fa4324ea
Expected output
Dumped type: string
Dumped type: string
Did PHPStan help you today? Did it make you happy in any way?
PHPStan makes me happy every day! :)
The text was updated successfully, but these errors were encountered: