intelephense

1.14.41.16.1
lib/stub/dom/dom_n.php
lib/stub/dom/dom_n.php
+30
Index: package/lib/stub/dom/dom_n.php
===================================================================
--- package/lib/stub/dom/dom_n.php
+++ package/lib/stub/dom/dom_n.php
@@ -285,8 +285,13 @@
     public ?Element $firstElementChild;
     public ?Element $lastElementChild;
     public int $childElementCount;
 
+    /**
+     * @since 8.5
+     */
+    public \Dom\HTMLCollection $children;
+
     public function appendXml(string $data): bool {}
 
     public function append(Node|string ...$nodes): void {}
 
@@ -313,8 +318,13 @@
     public string $inputEncoding;
     public ?DocumentType $doctype;
     public ?Element $documentElement;
 
+    /**
+     * @since 8.5
+     */
+    public \Dom\HTMLCollection $children;
+
     public function getElementsByTagName(string $qualifiedName): HTMLCollection {}
 
     public function getElementsByTagNameNS(?string $namespace, string $localName): HTMLCollection {}
 
@@ -366,8 +376,13 @@
     public function querySelector(string $selectors): ?Element {}
 
     /** @return NodeList<Element> */
     public function querySelectorAll(string $selectors): NodeList {}
+
+    /**
+     * @since 8.5
+     */
+    public function getElementsByClassName(string $classNames): HTMLCollection {}
     public ?HTMLElement $body;
     public ?HTMLElement $head;
     public string $title;
 }
@@ -473,8 +488,13 @@
     public string $tagName;
     public string $id;
     public string $className;
 
+    /**
+     * @since 8.5
+     */
+    public \Dom\HTMLCollection $children;
+
     /** @readonly */
     public TokenList $classList;
 
     public function hasAttributes(): bool {}
@@ -561,8 +581,18 @@
     /** @return list<NamespaceInfo> */
     public function getDescendantNamespaces(): array {}
 
     public function rename(?string $namespaceURI, string $qualifiedName): void {}
+
+    /**
+     * @since 8.5
+     */
+    public function getElementsByClassName(string $classNames): HTMLCollection {}
+
+    /**
+     * @since 8.5
+     */
+    public function insertAdjacentHTML(\Dom\AdjacentPosition $where, string $string): void {}
 }
 /**
  * @since 8.4
  */