Skip to content

Commit

Permalink
Remove assertions depending on param
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias committed Dec 12, 2024
1 parent e49a3b1 commit 578fc00
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions stubs/dom.stub
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,6 @@ class DOMElement extends DOMNode
* @return DOMNodeList<DOMElement>
*/
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 {}
}

/**
Expand Down

0 comments on commit 578fc00

Please sign in to comment.