Upgrade framework
This commit is contained in:
1 parent
1648a5cd42
commit
4fcf6fffcc
10548 files changed
+693131
-466691
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user