From 3a5d30e0279a8cb35d2260a1b5f8df093779a0dc Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Sat, 8 Jun 2013 22:37:52 +0200 Subject: [PATCH] Use parsed types for content --- src/Barryvdh/Reflection/DocBlock/Tag/ReturnTag.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;