We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e0983f commit 5a6bcb7Copy full SHA for 5a6bcb7
src/HTML5DOMDocument.php
@@ -391,7 +391,7 @@ public function saveHTML(\DOMNode $node = null): string
391
* @param string $filename The path to the saved HTML document.
392
* @return int|false the number of bytes written or FALSE if an error occurred.
393
*/
394
- #[\ReturnTypeWillChange] //
+ #[\ReturnTypeWillChange] // Return type "int|false" is invalid in older supported versions.
395
public function saveHTMLFile($filename)
396
{
397
if (!is_writable($filename)) {
0 commit comments