Skip to content

Commit

Permalink
fix: annotation doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Player626 committed Mar 5, 2021
1 parent 460068f commit 7f83b0f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Utility/AnnotationDoc.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,12 @@ function buildAnnotationHtml(string $dirOrFile): array
}
}
}
$htmls[$currentGroupName] = $html;

if (array_key_exists($currentGroupName, $htmls)) {
$htmls[$currentGroupName] .= $html;
} else {
$htmls[$currentGroupName] = $html;
}
}

ksort($htmls);
Expand Down

0 comments on commit 7f83b0f

Please sign in to comment.