# Bug report Using nullable `?` on Consts-types isn't parsed as expected ### Code snippet that reproduces the problem https://phpstan.org/r/d9e3f9e8-eca3-4380-8dda-ecf015d6a322  ### Expected output No error, expected type `?Currency::CURRENCY_*` and `null|Currency::CURRENCY_*` to be equal. ### Did PHPStan help you today? Did it make you happy in any way? Happy as in "Yes, catched that before commitin/pushing/deploying it"