Completed
Branch master (207580)
by Lars
03:54 queued 59s
created
src/voku/helper/UTF8.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2815,7 +2815,7 @@  discard block
 block discarded – undo
2815 2815
   /**
2816 2816
    * Check if the input is binary... (is look like a hack).
2817 2817
    *
2818
-   * @param mixed $input
2818
+   * @param string|false $input
2819 2819
    *
2820 2820
    * @return bool
2821 2821
    */
@@ -5709,7 +5709,7 @@  discard block
 block discarded – undo
5709 5709
    * @link http://php.net/manual/en/function.mb-strrpos.php
5710 5710
    *
5711 5711
    * @param string     $haystack  <p>The string being checked, for the last occurrence of needle</p>
5712
-   * @param string|int $needle    <p>The string to find in haystack.<br />Or a code point as int.</p>
5712
+   * @param string $needle    <p>The string to find in haystack.<br />Or a code point as int.</p>
5713 5713
    * @param int        $offset    [optional] <p>May be specified to begin searching an arbitrary number of characters
5714 5714
    *                              into the string. Negative values will stop searching at an arbitrary point prior to
5715 5715
    *                              the end of the string.
@@ -6442,8 +6442,8 @@  discard block
 block discarded – undo
6442 6442
    *
6443 6443
    * source: https://gist.github.com/stemar/8287074
6444 6444
    *
6445
-   * @param string|string[] $str              <p>The input string or an array of stings.</p>
6446
-   * @param string|string[] $replacement      <p>The replacement string or an array of stings.</p>
6445
+   * @param string $str              <p>The input string or an array of stings.</p>
6446
+   * @param string $replacement      <p>The replacement string or an array of stings.</p>
6447 6447
    * @param int|int[]       $offset           <p>
6448 6448
    *                                          If start is positive, the replacing will begin at the start'th offset
6449 6449
    *                                          into string.
@@ -6451,7 +6451,7 @@  discard block
 block discarded – undo
6451 6451
    *                                          If start is negative, the replacing will begin at the start'th character
6452 6452
    *                                          from the end of string.
6453 6453
    *                                          </p>
6454
-   * @param int|int[]|void  $length           [optional] <p>If given and is positive, it represents the length of the
6454
+   * @param integer|null  $length           [optional] <p>If given and is positive, it represents the length of the
6455 6455
    *                                          portion of string which is to be replaced. If it is negative, it
6456 6456
    *                                          represents the number of characters from the end of string at which to
6457 6457
    *                                          stop replacing. If it is not given, then it will default to strlen(
@@ -6882,7 +6882,7 @@  discard block
 block discarded – undo
6882 6882
    * case.</li>
6883 6883
    * </ul>
6884 6884
    *
6885
-   * @param string|string[] $str                    <p>Any string or array.</p>
6885
+   * @param string|false $str                    <p>Any string or array.</p>
6886 6886
    * @param bool            $decodeHtmlEntityToUtf8 <p>Set to true, if you need to decode html-entities.</p>
6887 6887
    *
6888 6888
    * @return string|string[] <p>The UTF-8 encoded string.</p>
Please login to merge, or discard this patch.