From b5981126daa6890256a1c29912765e7574213bea Mon Sep 17 00:00:00 2001 From: xjm Date: Thu, 13 Aug 2020 12:02:18 -0500 Subject: [PATCH] The helper returns a Boolean, not void. --- src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php b/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php index 62123c8340..a5403337a0 100644 --- a/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php +++ b/src/Standards/Squiz/Sniffs/Commenting/FunctionCommentSniff.php @@ -728,7 +728,7 @@ protected function checkSpacingAfterParamName(File $phpcsFile, $param, $maxVar, * in the stack passed in $tokens. * @param int $commentStart The position in the stack where the comment started. * - * @return void + * @return boolean TRUE if the docblock contains only {@inheritdoc} (case-insensitive). */ protected function checkInheritdoc(File $phpcsFile, $stackPtr, $commentStart) {