1
0
mirror of https://github.com/danog/phpdoc.git synced 2024-11-26 12:04:47 +01:00

Small fix

This commit is contained in:
Daniil Gentili 2022-01-06 16:57:13 +01:00
parent 4a58d381b5
commit b7ae25b5af
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -122,7 +122,7 @@ class MethodDoc extends GenericDoc
$sig .= $this->description;
$sig .= "\n";
if ($this->psalmParams || $this->params) {
$sig .= "\nParameters:\n";
$sig .= "\nParameters:\n\n";
foreach ($this->params as $name => [$type, $description]) {
$sig .= "* `\$$name`: `$type` $description \n";
if (isset($this->psalmParams[$name])) {