diff options
author | Matt Farina <[email protected]> | 2013-09-26 17:08:11 -0400 |
---|---|---|
committer | Matt Farina <[email protected]> | 2013-09-26 17:08:11 -0400 |
commit | 10cc34c7c5b47532d7f8ef540c46bcd344baf05d (patch) | |
tree | 621bb4a9edc4d23a552f7bcfc47b9f96663bac5d /src/HTML5/Parser/CharacterReference.php | |
parent | a8774fdb76f78beabbf80fee72813a243900cee9 (diff) |
Switched to late static bindings to make altering and building with these classes a little easier.
Diffstat (limited to 'src/HTML5/Parser/CharacterReference.php')
-rw-r--r-- | src/HTML5/Parser/CharacterReference.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HTML5/Parser/CharacterReference.php b/src/HTML5/Parser/CharacterReference.php index 17a9285..526a8b1 100644 --- a/src/HTML5/Parser/CharacterReference.php +++ b/src/HTML5/Parser/CharacterReference.php @@ -44,13 +44,13 @@ class CharacterReference { $entity = '&#' . $int . ';'; // UNTESTED: This may fail on some planes. Couldn't find full documentation // on the value of the mask array. - return mb_decode_numericentity($entity, self::$numeric_mask, 'utf-8'); + return mb_decode_numericentity($entity, static::$numeric_mask, 'utf-8'); } /** * Given a hexidecimal number, return the UTF-8 character. */ public static function lookupHex($hexdec) { - return self::lookupDecimal(hexdec($hexdec)); + return static::lookupDecimal(hexdec($hexdec)); } } |