summaryrefslogtreecommitdiff
path: root/ext/xmlreader/php_xmlreader.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2021-02-28 22:15:46 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2021-03-01 16:58:23 +0100
commit1cb823c82eaf48c62ceab14e8ad01edee1cbe745 (patch)
treecf1263ad88e0c16737e2b409c7ebcdf5eec44a37 /ext/xmlreader/php_xmlreader.stub.php
parent056eac6b038808999303b3fea6b949747807fb2d (diff)
downloadphp-git-1cb823c82eaf48c62ceab14e8ad01edee1cbe745.tar.gz
Declare XMLReader properties
Closes GH-6741
Diffstat (limited to 'ext/xmlreader/php_xmlreader.stub.php')
-rw-r--r--ext/xmlreader/php_xmlreader.stub.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/ext/xmlreader/php_xmlreader.stub.php b/ext/xmlreader/php_xmlreader.stub.php
index a551ec0deb..9932b56fc3 100644
--- a/ext/xmlreader/php_xmlreader.stub.php
+++ b/ext/xmlreader/php_xmlreader.stub.php
@@ -4,6 +4,34 @@
class XMLReader
{
+ public int $attributeCount;
+
+ public string $baseURI;
+
+ public int $depth;
+
+ public bool $hasAttributes;
+
+ public bool $hasValue;
+
+ public bool $isDefault;
+
+ public bool $isEmptyElement;
+
+ public string $localName;
+
+ public string $name;
+
+ public string $namespaceURI;
+
+ public int $nodeType;
+
+ public string $prefix;
+
+ public string $value;
+
+ public string $xmlLang;
+
/** @return bool */
public function close() {}