original_string: public function calculate($price, $unitTax, $quantity = 0)
      {
          $this->Tax = $unitTax * $quantity;
          $this->Total = $this->Tax + ($quantity * $price);
  
          return $this;
      }
code: public function calculate($price, $unitTax, $quantity = 0)
      {
          $this->Tax = $unitTax * $quantity;
          $this->Total = $this->Tax + ($quantity * $price);
  
          return $this;
      }
code_tokens: public function calculate ( $ price , $ unitTax , $ quantity = 0 ) { $ this -> Tax = $ unitTax * $ quantity ; $ this -> Total = $ this -> Tax + ( $ quantity * $ price ) ; return $ this ; }
docstring: Used to set the line item's values so that the total and tax add up correctly.
  
  @param int $price
  @param int $unitTax
  @param int $quantity
  
  @return $this
docstring_tokens: Used to set the line item s values so that the total and tax add up correctly .