We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15677da commit cbcf081Copy full SHA for cbcf081
src/Ast/PhpDoc/TemplateTagValueNode.php
@@ -26,7 +26,7 @@ public function __construct(string $name, ?TypeNode $bound, string $description)
26
27
public function __toString(): string
28
{
29
- $bound = isset($this->bound) ? " of {$this->bound}" : '';
+ $bound = $this->bound !== null ? " of {$this->bound}" : '';
30
return trim("{$this->name}{$bound} {$this->description}");
31
}
32
0 commit comments