@@ -1912,7 +1912,7 @@ discard block |
||
1912 | 1912 | /** |
1913 | 1913 | * Fallback for formatting value as an integer number by removing any decimal digits without rounding. |
1914 | 1914 | * |
1915 | - * @param string|int|float $value the value to be formatted. |
|
1915 | + * @param string $value the value to be formatted. |
|
1916 | 1916 | * @return string the formatted result. |
1917 | 1917 | * @since 2.0.16 |
1918 | 1918 | */ |
@@ -1939,7 +1939,7 @@ discard block |
||
1939 | 1939 | * Property [[decimalSeparator]] will be used to represent the decimal point. The value is rounded automatically |
1940 | 1940 | * to the defined decimal digits. |
1941 | 1941 | * |
1942 | - * @param string|int|float $value the value to be formatted. |
|
1942 | + * @param string $value the value to be formatted. |
|
1943 | 1943 | * @param int $decimals the number of digits after the decimal point. The default value is `0`. |
1944 | 1944 | * @return string the formatted result. |
1945 | 1945 | * @since 2.0.16 |
@@ -1976,7 +1976,7 @@ discard block |
||
1976 | 1976 | /** |
1977 | 1977 | * Fallback for formatting value as a currency number. |
1978 | 1978 | * |
1979 | - * @param string|int|float $value the value to be formatted. |
|
1979 | + * @param string $value the value to be formatted. |
|
1980 | 1980 | * @param string $currency the 3-letter ISO 4217 currency code indicating the currency to use. |
1981 | 1981 | * If null, [[currencyCode]] will be used. |
1982 | 1982 | * @return string the formatted result. |