x Sorry, these patches are not available anymore due to data migration. Please run a fresh inspection.
Passed
Push — master ( eb47cb...9ee409 )
by Hashem
02:08
created
src/Helper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,8 +182,8 @@
 block discarded – undo
182 182
      */
183 183
     public function mbJsonEncode(array $input)
184 184
     {
185
-        return preg_replace_callback('/\\\\u([0-9a-zA-Z]{4})/', function ($matches) {
186
-            return mb_convert_encoding(pack('H*',$matches[1]), 'UTF-8','UTF-16');
185
+        return preg_replace_callback('/\\\\u([0-9a-zA-Z]{4})/', function($matches) {
186
+            return mb_convert_encoding(pack('H*', $matches[1]), 'UTF-8', 'UTF-16');
187 187
         },
188 188
             json_encode($input, JSON_UNESCAPED_UNICODE)
189 189
         );
Please login to merge, or discard this patch.