Completed
Push — master ( c9e463...eca2d0 )
by rugk
02:31
created
src/library/ThreemaGateway/Helper/Emoji.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         // https://stackoverflow.com/questions/6058394/unicode-character-in-php-string
26 26
 
27 27
         // RegEx: https://regex101.com/r/yS2zX8/3
28
-        return preg_replace_callback('/(\\\\u([0-9a-fA-F]{4}))+/', function ($match) {
28
+        return preg_replace_callback('/(\\\\u([0-9a-fA-F]{4}))+/', function($match) {
29 29
             return json_decode('"' . $match[0] . '"');
30 30
         }, $string);
31 31
     }
Please login to merge, or discard this patch.