From ca006e54e30bc5ac96f35af1ed7fd73a8c422cf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Sat, 11 Apr 2020 10:23:51 +0200 Subject: Add missing visibility modifiers in stubs --- ext/xmlreader/xmlreader.stub.php | 50 ++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'ext/xmlreader') 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) {} } -- cgit v1.2.1