code: protected function applyFix(\SplFileInfo $file, Tokens $tokens)
      {
          $tokensAnalyzer = new TokensAnalyzer($tokens);
          foreach ($tokensAnalyzer->getClassyElements() as $index => $element) {
              if ('method' === $element['type']) {
                  $this->fixMethod($tokens, $index);
              }
          }
      }
docs: {@inheritdoc}