diff --git a/src/Barryvdh/Reflection/DocBlock/Tag/ReturnTag.php b/src/Barryvdh/Reflection/DocBlock/Tag/ReturnTag.php index 851a6c3..990dd1b 100644 --- a/src/Barryvdh/Reflection/DocBlock/Tag/ReturnTag.php +++ b/src/Barryvdh/Reflection/DocBlock/Tag/ReturnTag.php @@ -36,7 +36,7 @@ class ReturnTag extends Tag public function getContent() { if (null === $this->content) { - $this->content = "{$this->type} {$this->description}"; + $this->content = "{$this->getType()} {$this->description}"; } return $this->content;