Completed
Push — master ( f52b4d...49f69d )
by Lars
03:40
created
src/voku/helper/UTF8.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2150,7 +2150,7 @@  discard block
 block discarded – undo
2150 2150
    * @param string $encodingLabel ISO-8859-1 || UTF-8
2151 2151
    * @param string $str
2152 2152
    *
2153
-   * @return false|string Will return false on error.
2153
+   * @return string Will return false on error.
2154 2154
    */
2155 2155
   public static function encode($encodingLabel, $str)
2156 2156
   {
@@ -5323,7 +5323,7 @@  discard block
 block discarded – undo
5323 5323
    *                              The string being checked, for the last occurrence
5324 5324
    *                              of needle
5325 5325
    *                              </p>
5326
-   * @param string|int $needle    <p>
5326
+   * @param string $needle    <p>
5327 5327
    *                              The string to find in haystack.
5328 5328
    *                              Or a code point as int.
5329 5329
    *                              </p>
@@ -5399,7 +5399,7 @@  discard block
 block discarded – undo
5399 5399
    * @param int    $offset
5400 5400
    * @param int    $length
5401 5401
    *
5402
-   * @return int|null
5402
+   * @return integer
5403 5403
    */
5404 5404
   public static function strspn($str, $mask, $offset = 0, $length = 2147483647)
5405 5405
   {
@@ -6017,7 +6017,7 @@  discard block
 block discarded – undo
6017 6017
    * 2) when any of these: àáâãäåæçèéêëìíîï  are followed by TWO chars from group B,
6018 6018
    * 3) when any of these: ðñòó  are followed by THREE chars from group B.
6019 6019
    *
6020
-   * @param string|array $str Any string or array.
6020
+   * @param string $str Any string or array.
6021 6021
    *
6022 6022
    * @return string The same string, but UTF8 encoded.
6023 6023
    */
Please login to merge, or discard this patch.