original_string: public function delete($idActions)
      {
          foreach ($idActions as &$id) {
              $id = (int)$id;
          }
  
          $table = Common::prefixTable('log_action');
  
          $sql = "DELETE FROM $table WHERE idaction IN (" . implode(",", $idActions) . ")";
          Db::query($sql);
      }
code: public function delete($idActions)
      {
          foreach ($idActions as &$id) {
              $id = (int)$id;
          }
  
          $table = Common::prefixTable('log_action');
  
          $sql = "DELETE FROM $table WHERE idaction IN (" . implode(",", $idActions) . ")";
          Db::query($sql);
      }
code_tokens: public function delete ( $ idActions ) { foreach ( $ idActions as & $ id ) { $ id = ( int ) $ id ; } $ table = Common :: prefixTable ( 'log_action' ) ; $ sql = "DELETE FROM $table WHERE idaction IN (" . implode ( "," , $ idActions ) . ")" ; Db :: query ( $ sql ) ; }
docstring: Removes a list of actions from the log_action table by ID.
  
  @param int[] $idActions
docstring_tokens: Removes a list of actions from the log_action table by ID .