Skip to content

Commit

Permalink
Update stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot committed Jul 14, 2023
1 parent 70a5913 commit 07510cb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stubs/ext/dom/DOMElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ public function __construct(string $qualifiedName, ?string $value = null, string
public function getAttribute(string $qualifiedName)
{
}
#[\Since('8.3')]
public function getAttributeNames(): array
{
}
/**
* @tentative-return-type
* @return string
Expand Down
4 changes: 4 additions & 0 deletions stubs/ext/dom/DOMNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@ public function replaceChild(DOMNode $node, DOMNode $child)
public function contains(DOMNode|DOMNameSpaceNode|null $other): bool
{
}
#[\Since('8.3')]
public function getRootNode(?array $options = null): DOMNode
{
}
}

0 comments on commit 07510cb

Please sign in to comment.