Bug report
Union type int|false is converted to type int|bool when using template.
Code snippet that reproduces the problem
https://phpstan.org/r/fd175ccc-e72b-4b2c-9adf-008f02e66533
Expected output
No error shall be detected.
Did PHPStan help you today? Did it make you happy in any way?
Hi, thanks for your work, I'm having a relaxing time solving issues in my libs <3