function EmptyCommentSniff::isPartOfMultiLineInlineComments
1 call to EmptyCommentSniff::isPartOfMultiLineInlineComments()
- EmptyCommentSniff::process in vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Commenting/ EmptyCommentSniff.php - * @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint *
File
-
vendor/
slevomat/ coding-standard/ SlevomatCodingStandard/ Sniffs/ Commenting/ EmptyCommentSniff.php, line 130
Class
Namespace
SlevomatCodingStandard\Sniffs\CommentingCode
private function isPartOfMultiLineInlineComments(File $phpcsFile, int $commentStartPointer, int $commentEndPointer) : bool {
if (!$this->isNonEmptyLineCommentBefore($phpcsFile, $commentStartPointer)) {
return false;
}
return $this->isNonEmptyLineCommentAfter($phpcsFile, $commentEndPointer);
}