Completed
Push — master ( 207580...762f67 )
by Lars
03:09
created
src/voku/helper/UTF8.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2816,7 +2816,7 @@  discard block
 block discarded – undo
2816 2816
   /**
2817 2817
    * Check if the input is binary... (is look like a hack).
2818 2818
    *
2819
-   * @param mixed $input
2819
+   * @param string $input
2820 2820
    *
2821 2821
    * @return bool
2822 2822
    */
@@ -5718,7 +5718,7 @@  discard block
 block discarded – undo
5718 5718
    * @link http://php.net/manual/en/function.mb-strrpos.php
5719 5719
    *
5720 5720
    * @param string     $haystack  <p>The string being checked, for the last occurrence of needle</p>
5721
-   * @param string|int $needle    <p>The string to find in haystack.<br />Or a code point as int.</p>
5721
+   * @param string $needle    <p>The string to find in haystack.<br />Or a code point as int.</p>
5722 5722
    * @param int        $offset    [optional] <p>May be specified to begin searching an arbitrary number of characters
5723 5723
    *                              into the string. Negative values will stop searching at an arbitrary point prior to
5724 5724
    *                              the end of the string.
@@ -6490,8 +6490,8 @@  discard block
 block discarded – undo
6490 6490
    *
6491 6491
    * source: https://gist.github.com/stemar/8287074
6492 6492
    *
6493
-   * @param string|string[] $str              <p>The input string or an array of stings.</p>
6494
-   * @param string|string[] $replacement      <p>The replacement string or an array of stings.</p>
6493
+   * @param string $str              <p>The input string or an array of stings.</p>
6494
+   * @param string $replacement      <p>The replacement string or an array of stings.</p>
6495 6495
    * @param int|int[]       $offset           <p>
6496 6496
    *                                          If start is positive, the replacing will begin at the start'th offset
6497 6497
    *                                          into string.
@@ -6499,7 +6499,7 @@  discard block
 block discarded – undo
6499 6499
    *                                          If start is negative, the replacing will begin at the start'th character
6500 6500
    *                                          from the end of string.
6501 6501
    *                                          </p>
6502
-   * @param int|int[]|void  $length           [optional] <p>If given and is positive, it represents the length of the
6502
+   * @param integer|null  $length           [optional] <p>If given and is positive, it represents the length of the
6503 6503
    *                                          portion of string which is to be replaced. If it is negative, it
6504 6504
    *                                          represents the number of characters from the end of string at which to
6505 6505
    *                                          stop replacing. If it is not given, then it will default to strlen(
@@ -6934,7 +6934,7 @@  discard block
 block discarded – undo
6934 6934
    * case.</li>
6935 6935
    * </ul>
6936 6936
    *
6937
-   * @param string|string[] $str                    <p>Any string or array.</p>
6937
+   * @param string|false $str                    <p>Any string or array.</p>
6938 6938
    * @param bool            $decodeHtmlEntityToUtf8 <p>Set to true, if you need to decode html-entities.</p>
6939 6939
    *
6940 6940
    * @return string|string[] <p>The UTF-8 encoded string.</p>
Please login to merge, or discard this patch.