Closed manychois closed 2 years ago
$dom = new HTML5DOMDocument(); $b = $dom->createElement('b'); // IDE now knows $b is HTML5DOMElement $b->classList->add('test'); // classList is recognised