diff --git a/src/Document.php b/src/Document.php index 7c51a44..d4a43e9 100644 --- a/src/Document.php +++ b/src/Document.php @@ -97,16 +97,16 @@ class Document public function toString(): string { - $parts = []; + $lines = []; foreach ($this->_entity as $entity) { - $parts[] = $entity->toString(); + $lines[] = $entity->toString(); } return implode( PHP_EOL, - $parts + $lines ); } } \ No newline at end of file