protected function getCommentMethod(PHP_CodeSniffer_File $phpcsFile, $commentEnd)
    {
        $tokens = $phpcsFile->getTokens();
        $next   = $phpcsFile->findNext(array(T_WHITESPACE), $commentEnd + 1, null, true);
        if (in_array($tokens[$next]['code'], \PHP_CodeSniffer_Tokens::$methodPrefixes)) {
            return $phpcsFile->findNext(array(T_FUNCTION), $next, $phpcsFile->findEndOfStatement($next));
        }
        return false;
    }