original_string: public function addRepositories(array $repositories)
      {
          foreach ($repositories as $key => $repository) {
              $this->addRepository($key, $repository);
          }
          return $this;
      }
code: public function addRepositories(array $repositories)
      {
          foreach ($repositories as $key => $repository) {
              $this->addRepository($key, $repository);
          }
          return $this;
      }
code_tokens: public function addRepositories ( array $ repositories ) { foreach ( $ repositories as $ key => $ repository ) { $ this -> addRepository ( $ key , $ repository ) ; } return $ this ; }
docstring: Adds multiple repositories
  
  @param   array      $repositories    The repositories (key => repository)
  @return  RepositoryRegistry
docstring_tokens: Adds multiple repositories