diff options
Diffstat (limited to 'MLEB/Translate/ffs/AndroidXmlFFS.php')
-rw-r--r-- | MLEB/Translate/ffs/AndroidXmlFFS.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MLEB/Translate/ffs/AndroidXmlFFS.php b/MLEB/Translate/ffs/AndroidXmlFFS.php index 1a721f08..bcd9a722 100644 --- a/MLEB/Translate/ffs/AndroidXmlFFS.php +++ b/MLEB/Translate/ffs/AndroidXmlFFS.php @@ -94,7 +94,7 @@ class AndroidXmlFFS extends SimpleFFS { // Convert string of format \uNNNN (eg: \u1234) to symbols $converted = preg_replace_callback( '/(?<!\\\\)(?:\\\\{2})*+\\K\\\\u([0-9A-Fa-f]{4,6})+/', - function ( array $matches ) { + static function ( array $matches ) { return IntlChar::chr( hexdec( $matches[1] ) ); }, $elementStr |