Skip to content

Commit fd1083e

Browse files
committed
Improve code comment based on suggestion from PR review
1 parent 31df19b commit fd1083e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Standards/Generic/Sniffs/CodeAnalysis/UselessOverridingMethodSniff.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function process(File $phpcsFile, $stackPtr)
117117
return;
118118
}
119119

120-
// Find next non empty token index, should be the parent method name.
120+
// Find next non empty token index, should be the name of the method being called.
121121
$next = $phpcsFile->findNext(Tokens::$emptyTokens, ($next + 1), null, true);
122122

123123
// Skip for invalid code or other method.

0 commit comments

Comments
 (0)