fix unrelated phpstan error

This commit is contained in:
Max Loeb 2019-10-21 22:03:52 -07:00 committed by Ondřej Mirtes
parent c8ffa3e787
commit 15677da35a

View File

@ -26,7 +26,7 @@ class TemplateTagValueNode implements PhpDocTagValueNode
public function __toString(): string
{
$bound = $this->bound ? " of {$this->bound}" : '';
$bound = isset($this->bound) ? " of {$this->bound}" : '';
return trim("{$this->name}{$bound} {$this->description}");
}