original_string: public function formatPrice(float $price, $baseCurrency = null, $targetCurrency = null, $locale = null, $quantity = 1) : string
      {
          return $this->helper->convertAndFormat($price, $baseCurrency, $targetCurrency, $quantity, $locale);
      }
code: public function formatPrice(float $price, $baseCurrency = null, $targetCurrency = null, $locale = null, $quantity = 1) : string
      {
          return $this->helper->convertAndFormat($price, $baseCurrency, $targetCurrency, $quantity, $locale);
      }
code_tokens: public function formatPrice ( float $ price , $ baseCurrency = null , $ targetCurrency = null , $ locale = null , $ quantity = 1 ) : string { return $ this -> helper -> convertAndFormat ( $ price , $ baseCurrency , $ targetCurrency , $ quantity , $ locale ) ; }
docstring: Formats the given amount
  
  @param int|float   $price
  @param null|string $baseCurrency
  @param null|string $targetCurrency
  @param null|string $locale
  
  @return string
docstring_tokens: Formats the given amount