Bug report
I got the non-sensical error mentioned in the title of this issue in a case where the offending parameter was previously narrowed from mixed to non-empty-array. See code snippet.
Code snippet that reproduces the problem
https://phpstan.org/r/96c0c712-2fca-430c-96b1-448a0d484ab0
Expected output
No error on line 10.
Did PHPStan help you today? Did it make you happy in any way?
No response