PhpCsFixer\Fixer\Whitespace\NoExtraConsecutiveBlankLinesFixer::removeBetweenUse PHP Method

removeBetweenUse() private method

private removeBetweenUse ( $index )
    private function removeBetweenUse($index)
    {
        $next = $this->tokens->getNextTokenOfKind($index, array(';', T_CLOSE_TAG));
        if (null === $next || $this->tokens[$next]->isGivenKind(T_CLOSE_TAG)) {
            return;
        }
        $nextUseCandidate = $this->tokens->getNextMeaningfulToken($next);
        if (null === $nextUseCandidate || 1 === $nextUseCandidate - $next || !$this->tokens[$nextUseCandidate]->isGivenKind($this->tokens[$index]->getId())) {
            return;
        }
        return $this->removeEmptyLinesAfterLineWithTokenAt($next);
    }