# Bug report ### Code snippet that reproduces the problem https://phpstan.org/r/7f1e131e-6dab-4a1f-b1f6-68eed9a683d4 ### Expected output This code should report an error because `lol()` is declared twice.