@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function register() |
| 15 | 15 | { |
| 16 | - $this->app->bind('helper', function () { |
|
| 16 | + $this->app->bind('helper', function() { |
|
| 17 | 17 | return new Helper(); |
| 18 | 18 | }); |
| 19 | 19 | } |
@@ -183,7 +183,7 @@ |
||
| 183 | 183 | */ |
| 184 | 184 | public function mbJsonEncode(array $input) |
| 185 | 185 | { |
| 186 | - return preg_replace_callback('/\\\\u([0-9a-zA-Z]{4})/', function ($matches) { |
|
| 186 | + return preg_replace_callback('/\\\\u([0-9a-zA-Z]{4})/', function($matches) { |
|
| 187 | 187 | return mb_convert_encoding(pack('H*', $matches[1]), 'UTF-8', 'UTF-16'); |
| 188 | 188 | }, |
| 189 | 189 | json_encode($input, JSON_UNESCAPED_UNICODE) |