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

UI improvements

This commit is contained in:
Daniil Gentili 2020-10-15 18:42:00 +02:00
parent 74b9513a71
commit 16542ae6e3
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -122,7 +122,7 @@ class ClassDoc extends GenericDoc
foreach ($this->constants as $name => [, $description]) {
$description = \trim($description);
$description = \str_replace("\n", "\n ", $description);
$init .= "* {$this->className}::$name: $description\n";
$init .= "* `{$this->className}::$name`: $description\n";
$init .= "\n";
}
}