-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
In the example below, ctrl-alt-d on the text SimpleXMLElement does show docs for that class. But ctrl-alt-d on getName() does not show that method of the class.
foreach ($headers->children() as (SimpleXMLElement)$node) {
$nodeName = $node->getName();(not sure casting is valid in foreach, so....)
foreach ($headers->children() as ($node) {
$senode = (SimpleXMLElement)$node;
$nodeName = $senode->getName();It does show the doc for the count function:
$myarray->count()I understand the complexity of deriving the type of $node to know the base class for the method. In this case I tried to help it to recognize the class. Is this a feature that might be implemented? Thanks.
Metadata
Metadata
Assignees
Labels
No labels