Skip to content

Commit

Permalink
Parameter and return of DOMNode::lookupNamespaceURI are both nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan authored Jul 11, 2023
1 parent e2e898a commit 40a4ffa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dom/dom_c.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public function isDefaultNamespace(#[LanguageLevelTypeAware(['8.0' => 'string'],
* @param string|null $prefix <p>
* The prefix of the namespace.
* </p>
* @return string The namespace URI of the node.
* @return string|null The namespace URI of the node.
*/
#[PhpStormStubsElementAvailable(from: '8.0')]
#[TentativeType]
Expand All @@ -306,10 +306,10 @@ public function lookupNamespaceURI(?string $prefix): ?string {}
/**
* Gets the namespace URI of the node based on the prefix
* @link https://php.net/manual/en/domnode.lookupnamespaceuri.php
* @param string $prefix <p>
* @param string|null $prefix <p>
* The prefix of the namespace.
* </p>
* @return string The namespace URI of the node.
* @return string|null The namespace URI of the node.
*/
#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')]
public function lookupNamespaceUri($prefix) {}
Expand Down

0 comments on commit 40a4ffa

Please sign in to comment.