From 6d9c83c06e031369edecb4b3a1150f712c966549 Mon Sep 17 00:00:00 2001 From: orklah Date: Sat, 10 Aug 2019 21:40:29 +0200 Subject: [PATCH] Update mb_* return types mb_encode_numericentity and mb_decode_numeric_entity can return false and null as shown here: https://3v4l.org/runAT --- mbstring/mbstring.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbstring/mbstring.php b/mbstring/mbstring.php index cec3ec81..287fd484 100644 --- a/mbstring/mbstring.php +++ b/mbstring/mbstring.php @@ -835,7 +835,7 @@ function mb_convert_variables ($to_encoding, $from_encoding, &...$vars) {} *

* @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. *

* @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 */