ContentCommentItem.php: Documentation fixes

Change-Id: I5ee1c3e1b79f4e9bdab417c68ff447313ecb752d
This commit is contained in:
Ed Sanders 2023-12-15 17:05:22 +00:00
parent 329a268564
commit 84bc45adf1

View file

@ -67,7 +67,7 @@ class ContentCommentItem extends ContentThreadItem implements CommentItem {
}
/**
* Get the HTML of this comment's body
* Get the DOM of this comment's body
*
* @param bool $stripTrailingSeparator Strip a trailing separator between the body and
* the signature which consists of whitespace and hyphens e.g. ' --'
@ -159,7 +159,7 @@ class ContentCommentItem extends ContentThreadItem implements CommentItem {
}
/**
* @return ImmutableRange Range of the thread item's "body"
* @return ImmutableRange Range of the comment's "body"
*/
public function getBodyRange(): ImmutableRange {
// Exclude last signature from body