diff options
Diffstat (limited to 'ext/simplexml/simplexml.stub.php')
| -rw-r--r-- | ext/simplexml/simplexml.stub.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/simplexml/simplexml.stub.php b/ext/simplexml/simplexml.stub.php index 3a1d0d51f4..f78694c139 100644 --- a/ext/simplexml/simplexml.stub.php +++ b/ext/simplexml/simplexml.stub.php @@ -6,7 +6,7 @@ function simplexml_load_string(string $data, ?string $class_name = SimpleXMLElem function simplexml_import_dom(DOMNode $node, ?string $class_name = SimpleXMLElement::class): ?SimpleXMLElement {} -class SimpleXMLElement +class SimpleXMLElement implements Stringable { /** @return array|false */ public function xpath(string $path) {} @@ -43,8 +43,7 @@ class SimpleXMLElement /** @return string */ public function getName() {} - /** @return string */ - public function __toString() {} + public function __toString(): string {} /** @return int */ public function count() {} |
