← All changes
|
vendor/masterminds/html5/src/HTML5/Parser/CharacterReference.php
+3
-3
3.0.13
→
3.2.89
View file →
| @@ -34,12 +34,12 @@ | ||
| 34 | 34 | { |
| 35 | 35 | $entity = '&#' . $int . ';'; |
| 36 | 36 | // UNTESTED: This may fail on some planes. Couldn't find full documentation |
| 37 | 37 | // on the value of the mask array. |
| 38 | - return \mb_decode_numericentity($entity, static::$numeric_mask, 'utf-8'); | |
| 38 | + return mb_decode_numericentity($entity, static::$numeric_mask, 'utf-8'); | |
| 39 | 39 | } |
| 40 | 40 | /** |
| 41 | - * Given a hexidecimal number, return the UTF-8 character. | |
| 41 | + * Given a hexadecimal number, return the UTF-8 character. | |
| 42 | 42 | * |
| 43 | 43 | * @param $hexdec |
| 44 | 44 | * |
| 45 | 45 | * @return false|string|string[]|null |
| @@ -45,7 +45,7 @@ | ||
| 45 | 45 | * @return false|string|string[]|null |
| 46 | 46 | */ |
| 47 | 47 | public static function lookupHex($hexdec) |
| 48 | 48 | { |
| 49 | - return static::lookupDecimal(\hexdec($hexdec)); | |
| 49 | + return static::lookupDecimal(hexdec($hexdec)); | |
| 50 | 50 | } |
| 51 | 51 | } |