@@ -350,7 +350,7 @@ |
||
350 | 350 | /** |
351 | 351 | * Detect attribute type from given validator. |
352 | 352 | * |
353 | - * @param Validator validator from which to detect attribute type. |
|
353 | + * @param Validator Validator from which to detect attribute type. |
|
354 | 354 | * @return string|null detected attribute type. |
355 | 355 | * @since 2.0.14 |
356 | 356 | */ |
@@ -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. |
@@ -632,7 +632,7 @@ discard block |
||
632 | 632 | * Finds out a line of the first non-char PHP token found. |
633 | 633 | * |
634 | 634 | * @param array $tokens |
635 | - * @return int|string |
|
635 | + * @return string |
|
636 | 636 | * @since 2.0.1 |
637 | 637 | */ |
638 | 638 | protected function getLine($tokens) |
@@ -889,6 +889,9 @@ discard block |
||
889 | 889 | } |
890 | 890 | } |
891 | 891 | |
892 | + /** |
|
893 | + * @param string $dirName |
|
894 | + */ |
|
892 | 895 | private function deleteUnusedPhpMessageFiles($existingCategories, $dirName) |
893 | 896 | { |
894 | 897 | $messageFiles = FileHelper::findFiles($dirName); |