@@ -335,7 +335,7 @@ |
||
| 335 | 335 | } elseif (is_array($attachment)) { |
| 336 | 336 | $attachmentObject = new Attachment($attachment); |
| 337 | 337 | |
| 338 | - if (! isset($attachment['mrkdwn_in'])) { |
|
| 338 | + if ( ! isset($attachment['mrkdwn_in'])) { |
|
| 339 | 339 | $attachmentObject->setMarkdownFields($this->getMarkdownInAttachments()); |
| 340 | 340 | } |
| 341 | 341 | |
@@ -369,8 +369,7 @@ |
||
| 369 | 369 | |
| 370 | 370 | if ($web_api) { |
| 371 | 371 | return $this->guzzle->post($this->endpoint, ['form_params' => $payload]); |
| 372 | - } |
|
| 373 | - else { |
|
| 372 | + } else { |
|
| 374 | 373 | $encoded = json_encode($payload, JSON_UNESCAPED_UNICODE); |
| 375 | 374 | |
| 376 | 375 | if ($encoded === false) { |