Bug report
Class implementing a generic interface which defines methods returning static cause method chained calls to methods only defined on the class to return method.notFound
Code snippet that reproduces the problem
https://phpstan.org/r/8f38f139-9337-4269-9de0-5638a80c734e
Expected output
Lack of an error or a way to a way to specify return type in place of static
Did PHPStan help you today? Did it make you happy in any way?
No response