@@ -74,9 +74,12 @@ |
||
| 74 | 74 | */ |
| 75 | 75 | private static function _decodeJSON(string $json) : string |
| 76 | 76 | { |
| 77 | - try { |
|
| 77 | + try |
|
| 78 | + { |
|
| 78 | 79 | return http_build_query(\GuzzleHttp\json_decode($json, true), '', '&'); |
| 79 | - } catch (\Exception $e) { |
|
| 80 | + } |
|
| 81 | + catch (\Exception $e) |
|
| 82 | + { |
|
| 80 | 83 | return $json; |
| 81 | 84 | } |
| 82 | 85 | } |