Skip to content

Commit 676d51d

Browse files
committed
Change DOMCharacterData::appendData return type to true
1 parent e9c8621 commit 676d51d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

ext/dom/php_dom.stub.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ class DOMCharacterData extends DOMNode implements DOMChildNode
485485
public ?DOMElement $nextElementSibling;
486486

487487
/** @tentative-return-type */
488-
public function appendData(string $data): bool {}
488+
public function appendData(string $data): true {}
489489

490490
/** @return string|false */
491491
public function substringData(int $offset, int $count) {}

ext/dom/php_dom_arginfo.h

+4-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)