Skip to content

Commit d4f6a5b

Browse files
authored
Fixed cs
1 parent 48eedb0 commit d4f6a5b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ protected function processParams(File $phpcsFile, $stackPtr, $commentStart)
382382
$error = 'Doc comment for parameter %s does not match ';
383383
if (strtolower($param['var']) === strtolower($realName)) {
384384
$error .= 'case of ';
385-
$code = 'ParamNameNoCaseMatch';
385+
$code = 'ParamNameNoCaseMatch';
386386
}
387387

388388
$error .= 'actual variable name %s';
@@ -391,7 +391,7 @@ protected function processParams(File $phpcsFile, $stackPtr, $commentStart)
391391
} else {
392392
$pos = $index;
393393
}
394-
}
394+
}//end if
395395
} else if (substr($param['var'], -4) !== ',...') {
396396
// We must have an extra parameter comment.
397397
$error = 'Superfluous parameter comment';

0 commit comments

Comments
 (0)