From 8eb596c1cc42c9177144c4c2706b2df23ea9190f Mon Sep 17 00:00:00 2001 From: Vasil Rangelov Date: Tue, 13 Nov 2012 19:10:13 +0200 Subject: [PATCH] Updated @version in accordance with the latest changes in Tag. --- .../Reflection/DocBlock/Tag/VersionTag.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/phpDocumentor/Reflection/DocBlock/Tag/VersionTag.php b/src/phpDocumentor/Reflection/DocBlock/Tag/VersionTag.php index 1aa0030..3066a46 100644 --- a/src/phpDocumentor/Reflection/DocBlock/Tag/VersionTag.php +++ b/src/phpDocumentor/Reflection/DocBlock/Tag/VersionTag.php @@ -12,6 +12,7 @@ namespace phpDocumentor\Reflection\DocBlock\Tag; +use phpDocumentor\Reflection\DocBlock; use phpDocumentor\Reflection\DocBlock\Tag; /** @@ -29,14 +30,13 @@ class VersionTag extends Tag /** * Parses a tag and populates the member variables. * - * @param string $type Tag identifier for this tag (should be 'version'). - * @param string $content Contents for this tag. + * @param string $type Tag identifier for this tag (should be 'version'). + * @param string $content Contents for this tag. + * @param DocBlock $docblock The DocBlock which this tag belongs to. */ - public function __construct($type, $content) + public function __construct($type, $content, DocBlock $docblock = null) { - $this->tag = $type; - $this->content = $content; - $this->description = trim($content); + parent::__construct($type, $content, $docblock); if (preg_match( '/^