mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Fix rendering a description when it contains escaped characters and no tags
This commit is contained in:
@@ -94,7 +94,7 @@ class Description
|
||||
public function render(?Formatter $formatter = null): string
|
||||
{
|
||||
if ($this->tags === []) {
|
||||
return $this->bodyTemplate;
|
||||
return vsprintf($this->bodyTemplate, []);
|
||||
}
|
||||
|
||||
if ($formatter === null) {
|
||||
|
||||
Reference in New Issue
Block a user