code: 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;
              }
          }
      }
docs: {@inheritdoc}