src/Fixer/ReturnNotation/SimplifiedNullReturnFixer.php
private function shouldClearToken(Tokens $tokens, $index)
    {
        $token = $tokens[$index];

        return !$token->isComment() && !($token->isWhitespace() && $tokens[$index + 1]->isComment());
    }
private function shouldClearToken(Tokens $tokens, $index)
    {
        $token = $tokens[$index];

        return !$token->isComment() && !($token->isWhitespace() && $tokens[$index + 1]->isComment());
    }
Should we clear the specific token?

If the token is a comment, or is whitespace that is immediately before a
comment, then we'll leave it alone.

@param Tokens $tokens
@param int    $index

@return bool