@@ -374,8 +374,7 @@ |
||
| 374 | 374 | } |
| 375 | 375 | } |
| 376 | 376 | return $this->guzzle->post($this->endpoint, ['form_params' => $payload]); |
| 377 | - } |
|
| 378 | - else { |
|
| 377 | + } else { |
|
| 379 | 378 | $encoded = json_encode($payload, JSON_UNESCAPED_UNICODE); |
| 380 | 379 | |
| 381 | 380 | if ($encoded === false) { |
@@ -225,7 +225,7 @@ |
||
| 225 | 225 | 'value' => $this->getValue(), |
| 226 | 226 | ]; |
| 227 | 227 | |
| 228 | - if($confirm){ |
|
| 228 | + if ($confirm) { |
|
| 229 | 229 | $ret['confirm'] = $confirm->toArray(); |
| 230 | 230 | } |
| 231 | 231 | |