Commit 0efa0faa by leandrogehlen

Added comment about $currency when it is null

parent 55ad347e
...@@ -265,6 +265,7 @@ class Formatter extends \yii\base\Formatter ...@@ -265,6 +265,7 @@ class Formatter extends \yii\base\Formatter
* Formats the value as a currency number. * Formats the value as a currency number.
* @param mixed $value the value to be formatted * @param mixed $value the value to be formatted
* @param string $currency the 3-letter ISO 4217 currency code indicating the currency to use. * @param string $currency the 3-letter ISO 4217 currency code indicating the currency to use.
* If null, [[currencySymbol]] will be used.
* @param string $format the format to be used. Please refer to [ICU manual](http://www.icu-project.org/apiref/icu4c/classDecimalFormat.html#_details) * @param string $format the format to be used. Please refer to [ICU manual](http://www.icu-project.org/apiref/icu4c/classDecimalFormat.html#_details)
* for details on how to specify a format. * for details on how to specify a format.
* @return string the formatted result. * @return string the formatted result.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment