original_string: public function deleteRow($id)
      {
          if ($id === self::ID_SUMMARY_ROW) {
              $this->summaryRow = null;
              return;
          }
          if (!isset($this->rows[$id])) {
              throw new Exception("Trying to delete unknown row with idkey = $id");
          }
          unset($this->rows[$id]);
      }
code: public function deleteRow($id)
      {
          if ($id === self::ID_SUMMARY_ROW) {
              $this->summaryRow = null;
              return;
          }
          if (!isset($this->rows[$id])) {
              throw new Exception("Trying to delete unknown row with idkey = $id");
          }
          unset($this->rows[$id]);
      }
code_tokens: public function deleteRow ( $ id ) { if ( $ id === self :: ID_SUMMARY_ROW ) { $ this -> summaryRow = null ; return ; } if ( ! isset ( $ this -> rows [ $ id ] ) ) { throw new Exception ( "Trying to delete unknown row with idkey = $id" ) ; } unset ( $ this -> rows [ $ id ] ) ; }
docstring: Deletes a row by ID.
  
  @param int $id The row ID.
  @throws Exception If the row `$id` cannot be found.
docstring_tokens: Deletes a row by ID .