You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is accurate on MDN, but currently foreach($element->querySelectorAll("whatever") as $item) shows $item as a Node rather than an Element, so a lot of functionality is not being suggested by the IDE.
Maybe this can be solved by just type-hinting more accurately?
The text was updated successfully, but these errors were encountered:
I'm not sure if this is accurate on MDN, but currently
foreach($element->querySelectorAll("whatever") as $item)
shows$item
as aNode
rather than anElement
, so a lot of functionality is not being suggested by the IDE.Maybe this can be solved by just type-hinting more accurately?
The text was updated successfully, but these errors were encountered: