From 557fc6681fcc53b565e051756be3421019570eab Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 24 Jun 2024 05:19:29 +0300 Subject: [PATCH] rename variable --- src/Document.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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