Bug report
If a const array defined in trait uses const defined in class that using this trait, PHPStan will output an error (See the link for details)
Code snippet that reproduces the problem
https://phpstan.org/r/bfead168-b26e-4c62-98ee-4eefb8d42f9e
Expected output
No errors
Did PHPStan help you today? Did it make you happy in any way?
No response