mirror of
https://github.com/danog/phpdoc.git
synced 2024-11-26 12:04:47 +01:00
Small fix
This commit is contained in:
parent
4a58d381b5
commit
b7ae25b5af
@ -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])) {
|
||||
|
Loading…
Reference in New Issue
Block a user