diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-07 17:55:46 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-08 10:28:50 +0200 |
commit | 1fba22072596c34b32fa09986107bde3b4ab946d (patch) | |
tree | 445fe48367cd972359577d6d564c06239f340edf /ext/xmlreader/php_xmlreader.stub.php | |
parent | c05898d6c6ed0346a2f703753b8cf0885689b3ee (diff) | |
download | php-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.php | 4 |
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() {} |