Skip to content

Commit 578fc00

Browse files
committed
Remove assertions depending on param
1 parent e49a3b1 commit 578fc00

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

stubs/dom.stub

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,6 @@ class DOMElement extends DOMNode
6565
* @return DOMNodeList<DOMElement>
6666
*/
6767
public function getElementsByTagNameNS ($namespaceURI, $localName) {}
68-
69-
/**
70-
* @phpstan-assert-if-true non-empty-string $this->getAttribute($qualifiedName)
71-
* @phpstan-assert-if-true DOMAttr|DOMNameSpaceNode $this->getAttributeNode($qualifiedName)
72-
*/
73-
public function hasAttribute(string $qualifiedName): bool {}
74-
75-
public function getAttribute(string $qualifiedName): string {}
76-
77-
public function getAttributeNode(string $qualifiedName): DOMAttr|DOMNameSpaceNode|false {}
7868
}
7969

8070
/**

0 commit comments

Comments
 (0)