Completed
Push — master ( 7a68f8...d5d534 )
by Lars
03:42
created
src/voku/helper/UTF8.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3389,7 +3389,7 @@  discard block
 block discarded – undo
3389 3389
   /**
3390 3390
    * Check if the input is binary... (is look like a hack).
3391 3391
    *
3392
-   * @param mixed $input
3392
+   * @param string $input
3393 3393
    *
3394 3394
    * @return bool
3395 3395
    */
@@ -5406,7 +5406,7 @@  discard block
 block discarded – undo
5406 5406
    * @param string  $encoding
5407 5407
    * @param boolean $cleanUtf8    Clean non UTF-8 chars from the string.
5408 5408
    *
5409
-   * @return int|false The numeric position of the first occurrence of needle in the haystack string.<br />
5409
+   * @return string The numeric position of the first occurrence of needle in the haystack string.<br />
5410 5410
    *                   If needle is not found it returns false.
5411 5411
    */
5412 5412
   public static function strpos($haystack, $needle, $offset = 0, $encoding = 'UTF-8', $cleanUtf8 = false)
@@ -5613,7 +5613,7 @@  discard block
 block discarded – undo
5613 5613
    *                              The string being checked, for the last occurrence
5614 5614
    *                              of needle
5615 5615
    *                              </p>
5616
-   * @param string|int $needle    <p>
5616
+   * @param string $needle    <p>
5617 5617
    *                              The string to find in haystack.
5618 5618
    *                              Or a code point as int.
5619 5619
    *                              </p>
@@ -6361,7 +6361,7 @@  discard block
 block discarded – undo
6361 6361
    * 2) when any of these: àáâãäåæçèéêëìíîï  are followed by TWO chars from group B,
6362 6362
    * 3) when any of these: ðñòó  are followed by THREE chars from group B.
6363 6363
    *
6364
-   * @param string|array $str Any string or array.
6364
+   * @param string $str Any string or array.
6365 6365
    *
6366 6366
    * @return string The same string, but UTF8 encoded.
6367 6367
    */
Please login to merge, or discard this patch.