Added command to set the DocBlock onto the tags so that type expansion may happen

This commit is contained in:
Mike van Riel
2012-06-21 23:03:48 +02:00
parent 0a90ca3881
commit 467101e53d
+3 -1
View File
@@ -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;