I have noticed that when using classes (only in php, haven’t tried out other languages) that definitions and references of functions are displayed regardless of the class they were defined in.
This can sometimes be confusing when you are looking at multiple subclasses and you are referenced to another one or even the parent class because this one does not implement the function.
Is this intended behavior? I find it incredibly annoying and if possible would like to have a switch to “restrict” matches.