Update to laravel 7

This commit is contained in:
KodeStar
2022-03-10 11:54:29 +00:00
parent 61a5a1a8b0
commit f9a19fce91
7170 changed files with 274189 additions and 283773 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;
}
}