Skip to content

Commit 6ab0517

Browse files
committed
Fix description trimming bug
1 parent 32fa90d commit 6ab0517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/Description.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function setDescription($description)
3333
private function renderDescriptionAsPhpDoc()
3434
{
3535
if ($this->description) {
36-
$this->getPhpDoc()->prepend(null, trim(wordwrap($this->description), 'description'));
36+
$this->getPhpDoc()->prepend(null, trim(wordwrap($this->description)), 'description');
3737
return $this->getPhpDoc()->render();
3838
} else {
3939
return '';

0 commit comments

Comments
 (0)