Skip to content

Commit 9f524d5

Browse files
committed
Include URL from @link doc tag
1 parent 3ad44c8 commit 9f524d5

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
@@ -159,6 +159,9 @@ function export_docblock( $element ) {
159159
if ( method_exists( $tag, 'getTypes' ) ) {
160160
$tag_data['types'] = $tag->getTypes();
161161
}
162+
if ( method_exists( $tag, 'getLink' ) ) {
163+
$tag_data['link'] = $tag->getLink();
164+
}
162165
if ( method_exists( $tag, 'getVariableName' ) ) {
163166
$tag_data['variable'] = $tag->getVariableName();
164167
}

0 commit comments

Comments
 (0)