# Bug report When a class has a shortname `Number` and is used in phpdoc, the phpdoc reads it as `int|float`. ### Code snippet that reproduces the problem https://phpstan.org/r/b4717208-fbed-4773-b1cb-69b6dbb435f9 ### Expected output No error here