Completed
Pull Request — master (#16022)
by Loban
12:23
created
framework/helpers/BaseFileHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -773,7 +773,7 @@
 block discarded – undo
773 773
      * @param string $pattern
774 774
      * @param bool $caseSensitive
775 775
      * @throws InvalidArgumentException
776
-     * @return array with keys: (string) pattern, (int) flags, (int|bool) firstWildcard
776
+     * @return string with keys: (string) pattern, (int) flags, (int|bool) firstWildcard
777 777
      */
778 778
     private static function parseExcludePattern($pattern, $caseSensitive)
779 779
     {
Please login to merge, or discard this patch.
framework/data/DataFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -350,7 +350,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
framework/i18n/Formatter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1912,7 +1912,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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.
Please login to merge, or discard this patch.