1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 09:37:59 +01:00

Add DOMElement constructor

This commit is contained in:
Matthew Brown 2019-03-01 00:09:22 -05:00
parent ee942b3c02
commit 42d4156423

View File

@ -712,6 +712,8 @@ class DOMDocument extends DOMNode {
* @link http://php.net/manual/en/class.domelement.php * @link http://php.net/manual/en/class.domelement.php
*/ */
class DOMElement extends DOMNode { class DOMElement extends DOMNode {
public function __construct (string $name, string $value = '', string $namespaceURI = '') {}
/** /**
* @return DOMNodeList<DOMElement> * @return DOMNodeList<DOMElement>
*/ */