Completed
Push — master ( 7733a3...6963af )
by Lars
05:10
created
src/voku/helper/UTF8.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2858,7 +2858,7 @@  discard block
 block discarded – undo
2858 2858
   /**
2859 2859
    * Check if the input is binary... (is look like a hack).
2860 2860
    *
2861
-   * @param mixed $input
2861
+   * @param string $input
2862 2862
    *
2863 2863
    * @return bool
2864 2864
    */
@@ -5911,7 +5911,7 @@  discard block
 block discarded – undo
5911 5911
    * @link http://php.net/manual/en/function.mb-strrpos.php
5912 5912
    *
5913 5913
    * @param string     $haystack  <p>The string being checked, for the last occurrence of needle</p>
5914
-   * @param string|int $needle    <p>The string to find in haystack.<br>Or a code point as int.</p>
5914
+   * @param string $needle    <p>The string to find in haystack.<br>Or a code point as int.</p>
5915 5915
    * @param int        $offset    [optional] <p>May be specified to begin searching an arbitrary number of characters
5916 5916
    *                              into the string. Negative values will stop searching at an arbitrary point prior to
5917 5917
    *                              the end of the string.
@@ -6763,8 +6763,8 @@  discard block
 block discarded – undo
6763 6763
    *
6764 6764
    * source: https://gist.github.com/stemar/8287074
6765 6765
    *
6766
-   * @param string|string[] $str              <p>The input string or an array of stings.</p>
6767
-   * @param string|string[] $replacement      <p>The replacement string or an array of stings.</p>
6766
+   * @param string $str              <p>The input string or an array of stings.</p>
6767
+   * @param string $replacement      <p>The replacement string or an array of stings.</p>
6768 6768
    * @param int|int[]       $offset           <p>
6769 6769
    *                                          If start is positive, the replacing will begin at the start'th offset
6770 6770
    *                                          into string.
@@ -6772,7 +6772,7 @@  discard block
 block discarded – undo
6772 6772
    *                                          If start is negative, the replacing will begin at the start'th character
6773 6773
    *                                          from the end of string.
6774 6774
    *                                          </p>
6775
-   * @param int|int[]|void  $length           [optional] <p>If given and is positive, it represents the length of the
6775
+   * @param integer|null  $length           [optional] <p>If given and is positive, it represents the length of the
6776 6776
    *                                          portion of string which is to be replaced. If it is negative, it
6777 6777
    *                                          represents the number of characters from the end of string at which to
6778 6778
    *                                          stop replacing. If it is not given, then it will default to strlen(
@@ -7222,7 +7222,7 @@  discard block
 block discarded – undo
7222 7222
    * case.</li>
7223 7223
    * </ul>
7224 7224
    *
7225
-   * @param string|string[] $str                    <p>Any string or array.</p>
7225
+   * @param string $str                    <p>Any string or array.</p>
7226 7226
    * @param bool            $decodeHtmlEntityToUtf8 <p>Set to true, if you need to decode html-entities.</p>
7227 7227
    *
7228 7228
    * @return string|string[] <p>The UTF-8 encoded string.</p>
Please login to merge, or discard this patch.