mixed as explicit type with function argument on PHP 7.4 is not reported as an error.
Code snippet that reproduces the problem
Parameter $mixed of anonymous function has invalid typehint type mixed.
Did PHPStan help you today? Did it make you happy in any way?
PHPStan has helped me today to add a lot more clarity and confidence to old PHP code that would otherwise be scary to make changes in :slightly_smiling_face:
It always makes me feel happy to fix all of the errors that PHPStan reports, and to bring new files into our existing PHPStan coverage at the strictest level :slightly_smiling_face: