Skip to content

Commit

Permalink
Remove useless closing operation
Browse files Browse the repository at this point in the history
  • Loading branch information
theseer committed Dec 3, 2023
1 parent 14ed8a5 commit 879b14e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/serializer/HTMLSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,6 @@ private function serializeToCleanedString(DOMDocument $document): string {

$this->walk($writer, $document->documentElement, []);

if ($this->keepXMLHeaderFlag) {
$writer->endDocument();
}

return $writer->outputMemory();
}

Expand Down

0 comments on commit 879b14e

Please sign in to comment.