original_string: public function getSitesWithInvalidatedArchive($numericTable)
      {
          $rows = Db::fetchAll("SELECT DISTINCT idsite FROM `$numericTable` WHERE name LIKE 'done%' AND value = " . ArchiveWriter::DONE_INVALIDATED);
  
          $result = array();
          foreach ($rows as $row) {
              $result[] = $row['idsite'];
          }
          return $result;
      }
code: public function getSitesWithInvalidatedArchive($numericTable)
      {
          $rows = Db::fetchAll("SELECT DISTINCT idsite FROM `$numericTable` WHERE name LIKE 'done%' AND value = " . ArchiveWriter::DONE_INVALIDATED);
  
          $result = array();
          foreach ($rows as $row) {
              $result[] = $row['idsite'];
          }
          return $result;
      }
code_tokens: public function getSitesWithInvalidatedArchive ( $ numericTable ) { $ rows = Db :: fetchAll ( "SELECT DISTINCT idsite FROM `$numericTable` WHERE name LIKE 'done%' AND value = " . ArchiveWriter :: DONE_INVALIDATED ) ; $ result = array ( ) ; foreach ( $ rows as $ row ) { $ result [ ] = $ row [ 'idsite' ] ; } return $ result ; }
docstring: Returns the site IDs for invalidated archives in an archive table.
  
  @param string $numericTable The numeric table to search through.
  @return int[]
docstring_tokens: Returns the site IDs for invalidated archives in an archive table .