summaryrefslogtreecommitdiff
path: root/ext/xmlreader
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-04-11 10:23:51 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-04-11 10:23:51 +0200
commitca006e54e30bc5ac96f35af1ed7fd73a8c422cf0 (patch)
treed12144e326fa4aaab3212ea3218378f39c4ea9b0 /ext/xmlreader
parent1d05771a70a64b897d4af832654202fdfd40de86 (diff)
downloadphp-git-ca006e54e30bc5ac96f35af1ed7fd73a8c422cf0.tar.gz
Add missing visibility modifiers in stubs
Diffstat (limited to 'ext/xmlreader')
-rw-r--r--ext/xmlreader/xmlreader.stub.php50
1 files changed, 25 insertions, 25 deletions
diff --git a/ext/xmlreader/xmlreader.stub.php b/ext/xmlreader/xmlreader.stub.php
index 6608e60768..5a8a108a9d 100644
--- a/ext/xmlreader/xmlreader.stub.php
+++ b/ext/xmlreader/xmlreader.stub.php
@@ -3,77 +3,77 @@
class XMLReader
{
/** @return bool */
- function close() {}
+ public function close() {}
/** @return string|null|false */
- function getAttribute(string $name) {}
+ public function getAttribute(string $name) {}
/** @return ?string */
- function getAttributeNo(int $index) {}
+ public function getAttributeNo(int $index) {}
/** @return string|null|false */
- function getAttributeNs(string $name, string $namespaceURI) {}
+ public function getAttributeNs(string $name, string $namespaceURI) {}
/** @return bool */
- function getParserProperty(int $property) {}
+ public function getParserProperty(int $property) {}
/** @return bool */
- function isValid() {}
+ public function isValid() {}
/** @return string|null|false */
- function lookupNamespace(string $prefix) {}
+ public function lookupNamespace(string $prefix) {}
/** @return bool */
- function moveToAttribute(string $name) {}
+ public function moveToAttribute(string $name) {}
/** @return bool */
- function moveToAttributeNo(int $index) {}
+ public function moveToAttributeNo(int $index) {}
/** @return bool */
- function moveToAttributeNs(string $name, string $namespaceURI) {}
+ public function moveToAttributeNs(string $name, string $namespaceURI) {}
/** @return bool */
- function moveToElement() {}
+ public function moveToElement() {}
/** @return bool */
- function moveToFirstAttribute() {}
+ public function moveToFirstAttribute() {}
/** @return bool */
- function moveToNextAttribute() {}
+ public function moveToNextAttribute() {}
/** @return bool */
- function read() {}
+ public function read() {}
/** @return bool */
- function next(string $localname = UNKNOWN) {}
+ public function next(string $localname = UNKNOWN) {}
/** @return bool|XMLReader */
- function open(string $URI, ?string $encoding = null, int $options = 0) {}
+ public function open(string $URI, ?string $encoding = null, int $options = 0) {}
/** @return string */
- function readInnerXml() {}
+ public function readInnerXml() {}
/** @return string */
- function readOuterXml() {}
+ public function readOuterXml() {}
/** @return string */
- function readString() {}
+ public function readString() {}
/** @return bool */
- function setSchema(?string $filename) {}
+ public function setSchema(?string $filename) {}
/** @return bool */
- function setParserProperty(int $property, bool $value) {}
+ public function setParserProperty(int $property, bool $value) {}
/** @return bool */
- function setRelaxNGSchema(?string $filename) {}
+ public function setRelaxNGSchema(?string $filename) {}
/** @return bool */
- function setRelaxNGSchemaSource(?string $source) {}
+ public function setRelaxNGSchemaSource(?string $source) {}
/** @return bool|XMLReader */
- function XML(string $source, ?string $encoding = null, int $options = 0) {}
+ public function XML(string $source, ?string $encoding = null, int $options = 0) {}
/** @return DOMNode|bool */
- function expand(?DOMNode $basenode = null) {}
+ public function expand(?DOMNode $basenode = null) {}
}