mirror of
https://github.com/danog/phpdoc.git
synced 2024-11-30 04:29:12 +01:00
UI improvements
This commit is contained in:
parent
74b9513a71
commit
16542ae6e3
@ -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";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user