original_string: private function addDependencyOperations() {
      $operations = [];
  
      foreach ($this->dependencies as $module => $type) {
        $operations[] = [
          [static::class, 'installDependency'],
          [
            $module,
            $type,
          ],
        ];
      }
  
      return $operations;
    }
code: private function addDependencyOperations() {
      $operations = [];
  
      foreach ($this->dependencies as $module => $type) {
        $operations[] = [
          [static::class, 'installDependency'],
          [
            $module,
            $type,
          ],
        ];
      }
  
      return $operations;
    }
code_tokens: private function addDependencyOperations ( ) { $ operations = [ ] ; foreach ( $ this -> dependencies as $ module => $ type ) { $ operations [ ] = [ [ static :: class , 'installDependency' ] , [ $ module , $ type , ] , ] ; } return $ operations ; }
docstring: Crates a set of batch operations to install all required dependencies.
  
  @return array
  A set of Drupal batch operations.
docstring_tokens: Crates a set of batch operations to install all required dependencies .