### Bug report In the process of studying PHPStan, I discovered that mixed can be passed to any generic type. ### Code snippet that reproduces the problem https://phpstan.org/r/45528d36-48b9-47f0-a6b4-7162139201df ### Expected output ``` Parameter #1 of callable callable(A): A expects A, mixed given. ``` ### Did PHPStan help you today? Did it make you happy in any way? _No response_
Bug report
In the process of studying PHPStan, I discovered that mixed can be passed to any generic type.
Code snippet that reproduces the problem
https://phpstan.org/r/45528d36-48b9-47f0-a6b4-7162139201df
Expected output
Did PHPStan help you today? Did it make you happy in any way?
No response