summaryrefslogtreecommitdiff
path: root/ext/xmlreader/php_xmlreader.stub.php
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-07 17:55:46 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-10-08 10:28:50 +0200
commit1fba22072596c34b32fa09986107bde3b4ab946d (patch)
tree445fe48367cd972359577d6d564c06239f340edf /ext/xmlreader/php_xmlreader.stub.php
parentc05898d6c6ed0346a2f703753b8cf0885689b3ee (diff)
downloadphp-git-1fba22072596c34b32fa09986107bde3b4ab946d.tar.gz
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.
Diffstat (limited to 'ext/xmlreader/php_xmlreader.stub.php')
-rw-r--r--ext/xmlreader/php_xmlreader.stub.php4
1 files changed, 2 insertions, 2 deletions
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() {}