Skip to content

Commit e448d62

Browse files
freddenjrfnl
andauthored
Refine comment
Co-authored-by: Juliette <[email protected]>
1 parent 4171ba1 commit e448d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ protected function processParams(File $phpcsFile, $stackPtr, $commentStart)
560560
// this sniff remains agnostic in this case.
561561
$paramVarName = substr($param['var'], 1);
562562

563-
// This fixes a false-positive with 'MissingParamTag'.
563+
// This makes sure that the 'MissingParamTag' check won't throw a false positive.
564564
$foundParams[(count($foundParams) - 1)] = $paramVarName;
565565
} else {
566566
// When not passed by reference, the name should match exactly. If

0 commit comments

Comments
 (0)