Currently I can Ctrl+Click into methods of the abstract class like isValid() of the following code:

function myAction(AbstractItem $item) : bool
{
    return $item->isValid();
}

However if I break at the return line, the debugger knows for example that $item is an instanceof the CubeItem class. Can the analyzer take this context into account during debugging so that when I Ctrl+Click isValid() in this situation, it takes me to the isValid() method of the CubeItem class rather than the isValid() method of the AbstractItem class?

Thanks!

AnthonyANI Thank you for the suggestion!

Good point. We're playing around with this idea as well ...

Write a Reply...