mirror of
https://github.com/YGGverse/gemtext-php.git
synced 2026-03-31 17:55:38 +00:00
rename variable
This commit is contained in:
parent
ccb3da8c43
commit
557fc6681f
1 changed files with 3 additions and 3 deletions
|
|
@ -97,16 +97,16 @@ class Document
|
||||||
|
|
||||||
public function toString(): string
|
public function toString(): string
|
||||||
{
|
{
|
||||||
$parts = [];
|
$lines = [];
|
||||||
|
|
||||||
foreach ($this->_entity as $entity)
|
foreach ($this->_entity as $entity)
|
||||||
{
|
{
|
||||||
$parts[] = $entity->toString();
|
$lines[] = $entity->toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
return implode(
|
return implode(
|
||||||
PHP_EOL,
|
PHP_EOL,
|
||||||
$parts
|
$lines
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue