From 1fba22072596c34b32fa09986107bde3b4ab946d Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 7 Oct 2020 17:55:46 +0200 Subject: Update ext/xsl parameter names Additionally normalize to using $namespace rather than $uri for namespace parameters, including in XMLReader and XMLWriter. I went with that one as it is currently used by DOM, SimpleXML and XSL -- and our DOM parameter names follow the DOM specification. Closes GH-6295. --- ext/xmlreader/php_xmlreader.stub.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/xmlreader/php_xmlreader.stub.php') diff --git a/ext/xmlreader/php_xmlreader.stub.php b/ext/xmlreader/php_xmlreader.stub.php index 6fe77a19fc..ecad4b392b 100644 --- a/ext/xmlreader/php_xmlreader.stub.php +++ b/ext/xmlreader/php_xmlreader.stub.php @@ -14,7 +14,7 @@ class XMLReader public function getAttributeNo(int $index) {} /** @return string|null */ - public function getAttributeNs(string $name, string $uri) {} + public function getAttributeNs(string $name, string $namespace) {} /** @return bool */ public function getParserProperty(int $property) {} @@ -32,7 +32,7 @@ class XMLReader public function moveToAttributeNo(int $index) {} /** @return bool */ - public function moveToAttributeNs(string $name, string $uri) {} + public function moveToAttributeNs(string $name, string $namespace) {} /** @return bool */ public function moveToElement() {} -- cgit v1.2.1