From 7e8500eea1e53b1de0e0f70400664afa442cd08d Mon Sep 17 00:00:00 2001 From: Gerrit Uitslag Date: Thu, 2 Oct 2014 14:55:24 +0200 Subject: PHPDocs and some improvements --- inc/utf8.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/utf8.php') diff --git a/inc/utf8.php b/inc/utf8.php index b3f2b5fe8..f86217686 100644 --- a/inc/utf8.php +++ b/inc/utf8.php @@ -611,7 +611,7 @@ if(!function_exists('utf8_decode_numeric')){ * Decodes numeric HTML entities to their correct UTF-8 characters * * @param $ent string A numeric entity - * @return string + * @return string|false */ function utf8_decode_numeric($ent) { switch ($ent[2]) { @@ -657,7 +657,7 @@ if(!class_exists('utf8_entity_decoder')){ * Decodes any HTML entity to it's correct UTF-8 char equivalent * * @param string $ent An entity - * @return string + * @return string|false */ function decode($ent) { if ($ent[1] == '#') { -- cgit v1.2.3