mirror of
https://github.com/danog/phpdoc.git
synced 2024-11-29 20:19:03 +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 .= $this->description;
|
||||||
$sig .= "\n";
|
$sig .= "\n";
|
||||||
if ($this->psalmParams || $this->params) {
|
if ($this->psalmParams || $this->params) {
|
||||||
$sig .= "\nParameters:\n";
|
$sig .= "\nParameters:\n\n";
|
||||||
foreach ($this->params as $name => [$type, $description]) {
|
foreach ($this->params as $name => [$type, $description]) {
|
||||||
$sig .= "* `\$$name`: `$type` $description \n";
|
$sig .= "* `\$$name`: `$type` $description \n";
|
||||||
if (isset($this->psalmParams[$name])) {
|
if (isset($this->psalmParams[$name])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user