File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/phpDocumentor/Reflection/DocBlock/Tag Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 12
12
13
13
namespace phpDocumentor \Reflection \DocBlock \Tag ;
14
14
15
+ use phpDocumentor \Reflection \DocBlock ;
15
16
use phpDocumentor \Reflection \DocBlock \Tag ;
16
17
17
18
/**
@@ -29,14 +30,13 @@ class VersionTag extends Tag
29
30
/**
30
31
* Parses a tag and populates the member variables.
31
32
*
32
- * @param string $type Tag identifier for this tag (should be 'version').
33
- * @param string $content Contents for this tag.
33
+ * @param string $type Tag identifier for this tag (should be 'version').
34
+ * @param string $content Contents for this tag.
35
+ * @param DocBlock $docblock The DocBlock which this tag belongs to.
34
36
*/
35
- public function __construct ($ type , $ content )
37
+ public function __construct ($ type , $ content, DocBlock $ docblock = null )
36
38
{
37
- $ this ->tag = $ type ;
38
- $ this ->content = $ content ;
39
- $ this ->description = trim ($ content );
39
+ parent ::__construct ($ type , $ content , $ docblock );
40
40
41
41
if (preg_match (
42
42
'/^
You can’t perform that action at this time.
0 commit comments