src/Fixer/Whitespace/IndentationTypeFixer.php
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
    {
        $this->indent = $this->whitespacesConfig->getIndent();

        foreach ($tokens as $index => $token) {
            if ($token->isComment()) {
                $tokens[$index] = $this->fixIndentInComment($tokens, $index);

                continue;
            }

            if ($token->isWhitespace()) {
                $tokens[$index] = $this->fixIndentToken($tokens, $index);

                continue;
            }
        }
    }
protected function applyFix(\SplFileInfo $file, Tokens $tokens)
    {
        $this->indent = $this->whitespacesConfig->getIndent();

        foreach ($tokens as $index => $token) {
            if ($token->isComment()) {
                $tokens[$index] = $this->fixIndentInComment($tokens, $index);

                continue;
            }

            if ($token->isWhitespace()) {
                $tokens[$index] = $this->fixIndentToken($tokens, $index);

                continue;
            }
        }
    }
protected function applyFix ( \ SplFileInfo $ file , Tokens $ tokens ) { $ this -> indent = $ this -> whitespacesConfig -> getIndent ( ) ; foreach ( $ tokens as $ index => $ token ) { if ( $ token -> isComment ( ) ) { $ tokens [ $ index ] = $ this -> fixIndentInComment ( $ tokens , $ index ) ; continue ; } if ( $ token -> isWhitespace ( ) ) { $ tokens [ $ index ] = $ this -> fixIndentToken ( $ tokens , $ index ) ; continue ; } } }
{@inheritdoc}
{