src/Fixer/ControlStructure/SwitchCaseSemicolonToColonFixer.php
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
    {
        foreach ($tokens as $index => $token) {
            if ($token->isGivenKind([T_CASE, T_DEFAULT])) {
                $this->fixSwitchCase($tokens, $index);
            }
        }
    }
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
    {
        foreach ($tokens as $index => $token) {
            if ($token->isGivenKind([T_CASE, T_DEFAULT])) {
                $this->fixSwitchCase($tokens, $index);
            }
        }
    }
protected function applyFix ( \ SplFileInfo $ file , Tokens $ tokens ) { foreach ( $ tokens as $ index => $ token ) { if ( $ token -> isGivenKind ( [ T_CASE , T_DEFAULT ] ) ) { $ this -> fixSwitchCase ( $ tokens , $ index ) ; } } }
{@inheritdoc}
{