Skip to content

Commit e8d3cfb

Browse files
committed
Merge pull request #175 from stephenharris/feature/link-url
Include link in tag data
2 parents db1cdf6 + 9f524d5 commit e8d3cfb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/runner.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ function export_docblock( $element ) {
162162
if ( method_exists( $tag, 'getTypes' ) ) {
163163
$tag_data['types'] = $tag->getTypes();
164164
}
165+
if ( method_exists( $tag, 'getLink' ) ) {
166+
$tag_data['link'] = $tag->getLink();
167+
}
165168
if ( method_exists( $tag, 'getVariableName' ) ) {
166169
$tag_data['variable'] = $tag->getVariableName();
167170
}

0 commit comments

Comments
 (0)