original_string: public function importJournalArticles($oldJournalId, $newJournalId, $issueIds, $sectionIds)
      {
          $articleSql = "SELECT article_id FROM articles WHERE journal_id = :journal_id";
          $articleStatement = $this->dbalConnection->prepare($articleSql);
          $articleStatement->bindValue('journal_id', $oldJournalId);
          $articleStatement->execute();
          $articles = $articleStatement->fetchAll();
  
          $this->importArticles($articles, $newJournalId, $sectionIds, $issueIds);
      }
code: public function importJournalArticles($oldJournalId, $newJournalId, $issueIds, $sectionIds)
      {
          $articleSql = "SELECT article_id FROM articles WHERE journal_id = :journal_id";
          $articleStatement = $this->dbalConnection->prepare($articleSql);
          $articleStatement->bindValue('journal_id', $oldJournalId);
          $articleStatement->execute();
          $articles = $articleStatement->fetchAll();
  
          $this->importArticles($articles, $newJournalId, $sectionIds, $issueIds);
      }
code_tokens: public function importJournalArticles ( $ oldJournalId , $ newJournalId , $ issueIds , $ sectionIds ) { $ articleSql = "SELECT article_id FROM articles WHERE journal_id = :journal_id" ; $ articleStatement = $ this -> dbalConnection -> prepare ( $ articleSql ) ; $ articleStatement -> bindValue ( 'journal_id' , $ oldJournalId ) ; $ articleStatement -> execute ( ) ; $ articles = $ articleStatement -> fetchAll ( ) ; $ this -> importArticles ( $ articles , $ newJournalId , $ sectionIds , $ issueIds ) ; }
docstring: Imports the articles of given Journal.
  @param int $oldJournalId Old journal's ID
  @param int $newJournalId New journal's ID
  @param array $issueIds   Issue IDs of journal
  @param array $sectionIds Section IDs of journal
  @throws Exception
  @throws \Doctrine\DBAL\ConnectionException
  @throws \Doctrine\DBAL\DBALException
docstring_tokens: Imports the articles of given Journal .