From 467101e53d22c1815cc54b39f043695798518bff Mon Sep 17 00:00:00 2001 From: Mike van Riel Date: Thu, 21 Jun 2012 23:03:48 +0200 Subject: [PATCH] Added command to set the DocBlock onto the tags so that type expansion may happen --- src/phpDocumentor/Reflection/DocBlock.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/phpDocumentor/Reflection/DocBlock.php b/src/phpDocumentor/Reflection/DocBlock.php index 782bfab..00958ac 100644 --- a/src/phpDocumentor/Reflection/DocBlock.php +++ b/src/phpDocumentor/Reflection/DocBlock.php @@ -217,7 +217,9 @@ class DocBlock implements \Reflector // create proper Tag objects foreach ($result as $key => $tag_line) { - $result[$key] = DocBlock\Tag::createInstance($tag_line); + $tag = DocBlock\Tag::createInstance($tag_line); + $tag->setDocBlock($this); + $result[$key] = $tag; } $this->tags = $result;