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

Some more fixes

This commit is contained in:
Daniil Gentili 2020-10-15 18:50:00 +02:00
parent 16542ae6e3
commit 008dec28e0
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
3 changed files with 5 additions and 2 deletions

View File

@ -143,8 +143,11 @@ class ClassDoc extends GenericDoc
$init .= "## Properties\n";
foreach ($this->properties as $name => [$type, $description]) {
$init .= "* `\$$name`: `$type` $description";
$init .= "\n";
}
}
$init .= "---\n";
$init .= "Generated by [danog/phpdoc](https://phpdoc.daniil.it)\n";
return $init;
}
}

View File

@ -195,8 +195,6 @@ abstract class GenericDoc
$this->description
$seeAlso
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it).
EOF;
}
/**

View File

@ -144,6 +144,8 @@ class MethodDoc extends GenericDoc
}
$sig .= $this->seeAlso();
$sig .= "\n";
$sig .= "---\n";
$sig .= "Generated by [danog/phpdoc](https://phpdoc.daniil.it)\n";
return $sig;
}
}