@@ -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 | |
@@ -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) { |