Upgrade framework

This commit is contained in:
2023-11-14 16:54:35 +01:00
parent 1648a5cd42
commit 4fcf6fffcc
10548 changed files with 693138 additions and 466698 deletions

View File

@@ -216,16 +216,16 @@ class FactoryMethod
public function getCommentText()
{
return implode(PHP_EOL, $this->comment);
return implode("\n", $this->comment);
}
public function getComment($indent = '')
{
$comment = $indent . '/**';
foreach ($this->comment as $line) {
$comment .= PHP_EOL . rtrim($indent . ' * ' . $line);
$comment .= "\n" . rtrim($indent . ' * ' . $line);
}
$comment .= PHP_EOL . $indent . ' */';
$comment .= "\n" . $indent . ' */';
return $comment;
}
}