Skip to content

Commit 5a6bcb7

Browse files
committed
Add comment.
1 parent 0e0983f commit 5a6bcb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HTML5DOMDocument.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ public function saveHTML(\DOMNode $node = null): string
391391
* @param string $filename The path to the saved HTML document.
392392
* @return int|false the number of bytes written or FALSE if an error occurred.
393393
*/
394-
#[\ReturnTypeWillChange] //
394+
#[\ReturnTypeWillChange] // Return type "int|false" is invalid in older supported versions.
395395
public function saveHTMLFile($filename)
396396
{
397397
if (!is_writable($filename)) {

0 commit comments

Comments
 (0)