Update mb_* return types

mb_encode_numericentity and mb_decode_numeric_entity can return false and null as shown here:
https://3v4l.org/runAT
This commit is contained in:
orklah 2019-08-10 21:40:29 +02:00 committed by GitHub
parent fd6517b891
commit 6d9c83c06e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -835,7 +835,7 @@ function mb_convert_variables ($to_encoding, $from_encoding, &...$vars) {}
* </p>
* @param string $encoding &mbstring.encoding.parameter;
* @param bool $is_hex [optional]
* @return string The converted string.
* @return string|false|null The converted string.
* @since 4.0.6
* @since 5.0
*/
@ -852,7 +852,7 @@ function mb_encode_numericentity ($str, array $convmap, $encoding = null, $is_he
* the code area to convert.
* </p>
* @param string $encoding &mbstring.encoding.parameter;
* @return string The converted string.
* @return string|false|null The converted string.
* @since 4.0.6
* @since 5.0
*/