@@ -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. |
@@ -630,7 +630,7 @@ discard block |
||
630 | 630 | * Finds out a line of the first non-char PHP token found. |
631 | 631 | * |
632 | 632 | * @param array $tokens |
633 | - * @return int|string |
|
633 | + * @return string |
|
634 | 634 | * @since 2.0.1 |
635 | 635 | */ |
636 | 636 | protected function getLine($tokens) |
@@ -887,6 +887,9 @@ discard block |
||
887 | 887 | } |
888 | 888 | } |
889 | 889 | |
890 | + /** |
|
891 | + * @param string $dirName |
|
892 | + */ |
|
890 | 893 | private function deleteUnusedPhpMessageFiles($dirName, $existingCategories) |
891 | 894 | { |
892 | 895 | $messageFiles = FileHelper::findFiles($dirName); |