# Bug report Inherited phpdoc is resolved wrongly if there is an intermediate class. ### Code snippet that reproduces the problem https://phpstan.org/r/099b40f6-6736-4f6c-8cc8-1d3ae55cf7c7