Fixed DocBlock giving and reception for long descriptions.

This commit is contained in:
Vasil Rangelov
2012-11-14 18:05:03 +02:00
parent a18985a888
commit 27bdc08a1e
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ class DocBlock implements \Reflector
list($short, $long, $tags) = $this->splitDocBlock($docblock); list($short, $long, $tags) = $this->splitDocBlock($docblock);
$this->short_description = $short; $this->short_description = $short;
$this->long_description = new DocBlock\Description($long); $this->long_description = new DocBlock\Description($long, $this);
$this->parseTags($tags); $this->parseTags($tags);
$this->namespace = $namespace; $this->namespace = $namespace;
@@ -12,6 +12,8 @@
namespace phpDocumentor\Reflection\DocBlock; namespace phpDocumentor\Reflection\DocBlock;
use phpDocumentor\Reflection\DocBlock;
/** /**
* Parses a Description of a DocBlock or tag. * Parses a Description of a DocBlock or tag.
* *