Bug report
See real behaviour: https://3v4l.org/vUJgl
Code snippet that reproduces the problem
https://phpstan.org/r/417be852-298b-4d20-8e3c-c02ad59497d6
Expected output
Error: Named parameter $var overwrites previous argument
Did PHPStan help you today? Did it make you happy in any way?
No response