# Bug report Hi @ondrejmirtes The option `treatPhpDocTypesAsCertain` still trust too much the phpdoc. I found two case - `non-empty-array`. - template and generics. Both examples are in my snippet. ### Code snippet that reproduces the problem https://phpstan.org/r/b0612151-054f-475d-8161-542dd2628f1c ### Expected output No errors, we can be sure about `non-empty-array` and we can't be sure about generics/template.