original_string: public function setTax($rowId, $taxRate)
      {
          $cartItem = $this->get($rowId);
  
          $cartItem->setTaxRate($taxRate);
  
          $content = $this->getContent();
  
          $content->put($cartItem->rowId, $cartItem);
  
          $this->session->put($this->instance, $content);
      }
code: public function setTax($rowId, $taxRate)
      {
          $cartItem = $this->get($rowId);
  
          $cartItem->setTaxRate($taxRate);
  
          $content = $this->getContent();
  
          $content->put($cartItem->rowId, $cartItem);
  
          $this->session->put($this->instance, $content);
      }
code_tokens: public function setTax ( $ rowId , $ taxRate ) { $ cartItem = $ this -> get ( $ rowId ) ; $ cartItem -> setTaxRate ( $ taxRate ) ; $ content = $ this -> getContent ( ) ; $ content -> put ( $ cartItem -> rowId , $ cartItem ) ; $ this -> session -> put ( $ this -> instance , $ content ) ; }
docstring: Set the tax rate for the cart item with the given rowId.
  
  @param string    $rowId
  @param int|float $taxRate
  @return void
docstring_tokens: Set the tax rate for the cart item with the given rowId .