code: protected function applyFix(\SplFileInfo $file, Tokens $tokens)
      {
          $callback = $this->callback;
          for ($index = 0, $count = $tokens->count(); $index < $count - 6; ++$index) {
              if (!$tokens[$index]->isGivenKind(T_DECLARE)) {
                  continue;
              }
  
              while (!$tokens[++$index]->equals('='));
  
              $this->{$callback}($tokens, $index);
          }
      }
docs: {@inheritdoc}