summaryrefslogtreecommitdiff
path: root/inc/utf8.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-10-02 14:55:24 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2014-10-02 14:55:24 +0200
commit7e8500eea1e53b1de0e0f70400664afa442cd08d (patch)
tree4dd246a9b26f930fc7cbfef76116320dcbe77aaf /inc/utf8.php
parente3710957c6b7e12293805a15d0624be7c7054092 (diff)
downloadrpg-7e8500eea1e53b1de0e0f70400664afa442cd08d.tar.gz
rpg-7e8500eea1e53b1de0e0f70400664afa442cd08d.tar.bz2
PHPDocs and some improvements
Diffstat (limited to 'inc/utf8.php')
-rw-r--r--inc/utf8.php4
1 files changed, 2 insertions, 2 deletions
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] == '#') {