original_string: public static function priceWithDiscount($price, $discount, bool $discountIsPercent = false)
      {
          if ($discountIsPercent) {
              $discount = $discount / 100;
          }
          return $price - ($price * $discount);
      }
code: public static function priceWithDiscount($price, $discount, bool $discountIsPercent = false)
      {
          if ($discountIsPercent) {
              $discount = $discount / 100;
          }
          return $price - ($price * $discount);
      }
code_tokens: public static function priceWithDiscount ( $ price , $ discount , bool $ discountIsPercent = false ) { if ( $ discountIsPercent ) { $ discount = $ discount / 100 ; } return $ price - ( $ price * $ discount ) ; }
docstring: Get a price minus the discount
  @param float $price
  @param float $discount
  @param bool $discountIsPercent
  @return float
docstring_tokens: Get a price minus the discount