1
0
mirror of https://github.com/danog/phpdoc.git synced 2024-11-26 12:04:47 +01:00
This commit is contained in:
Daniil Gentili 2023-06-13 21:47:18 +02:00
parent 15526bf1eb
commit b396e6d4e5
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -152,7 +152,7 @@ class MethodDoc extends GenericDoc
$sig .= "\n\n";
$sig .= $this->title;
$sig .= "\n";
$sig .= $this->description;
$sig .= str_replace("\n", " \n", $this->description);
$sig .= "\n";
if ($this->psalmParams || $this->params) {
$sig .= "\nParameters:\n\n";