From 578fc00e33239412df347698e48f4a3da316d718 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Thu, 12 Dec 2024 22:33:25 +0000 Subject: [PATCH] Remove assertions depending on param --- stubs/dom.stub | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/stubs/dom.stub b/stubs/dom.stub index 209e07230c..b219756b1d 100644 --- a/stubs/dom.stub +++ b/stubs/dom.stub @@ -65,16 +65,6 @@ class DOMElement extends DOMNode * @return DOMNodeList */ public function getElementsByTagNameNS ($namespaceURI, $localName) {} - - /** - * @phpstan-assert-if-true non-empty-string $this->getAttribute($qualifiedName) - * @phpstan-assert-if-true DOMAttr|DOMNameSpaceNode $this->getAttributeNode($qualifiedName) - */ - public function hasAttribute(string $qualifiedName): bool {} - - public function getAttribute(string $qualifiedName): string {} - - public function getAttributeNode(string $qualifiedName): DOMAttr|DOMNameSpaceNode|false {} } /**