Skip to content

Commit 27bdc08

Browse files
committed
Fixed DocBlock giving and reception for long descriptions.
1 parent a18985a commit 27bdc08

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/phpDocumentor/Reflection/DocBlock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function __construct(
8080

8181
list($short, $long, $tags) = $this->splitDocBlock($docblock);
8282
$this->short_description = $short;
83-
$this->long_description = new DocBlock\Description($long);
83+
$this->long_description = new DocBlock\Description($long, $this);
8484
$this->parseTags($tags);
8585

8686
$this->namespace = $namespace;

src/phpDocumentor/Reflection/DocBlock/Description.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
namespace phpDocumentor\Reflection\DocBlock;
1414

15+
use phpDocumentor\Reflection\DocBlock;
16+
1517
/**
1618
* Parses a Description of a DocBlock or tag.
1719
*

0 commit comments

Comments
 (0)