Skip to content

Commit b598112

Browse files
committed
The helper returns a Boolean, not void.
1 parent 826f7e8 commit b598112

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
@@ -728,7 +728,7 @@ protected function checkSpacingAfterParamName(File $phpcsFile, $param, $maxVar,
728728
* in the stack passed in $tokens.
729729
* @param int $commentStart The position in the stack where the comment started.
730730
*
731-
* @return void
731+
* @return boolean TRUE if the docblock contains only {@inheritdoc} (case-insensitive).
732732
*/
733733
protected function checkInheritdoc(File $phpcsFile, $stackPtr, $commentStart)
734734
{

0 commit comments

Comments
 (0)