@@ -104,7 +104,7 @@ |
||
| 104 | 104 | $this->setIcon($attributes['icon']); |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | - foreach($attributes['attachments'] as $attachment) { |
|
| 107 | + foreach ($attributes['attachments'] as $attachment) { |
|
| 108 | 108 | $this->attach($attachment); |
| 109 | 109 | } |
| 110 | 110 | |
@@ -147,7 +147,7 @@ |
||
| 147 | 147 | $message['endpoint'] = $message['endpoint'] ?? $this->endpoint; |
| 148 | 148 | $message['username'] = $message['username'] ?? $this->username; |
| 149 | 149 | $message['parse'] = $message['parse'] ?? $this->parse; |
| 150 | - $message['link_names'] = $this->linkNames ? 1 : 0; |
|
| 150 | + $message['link_names'] = $this->linkNames ? 1 : 0; |
|
| 151 | 151 | $message['unfurl_links'] = $this->unfurlLinks; |
| 152 | 152 | $message['unfurl_media'] = $this->unfurlMedia; |
| 153 | 153 | $message['mrkdwn'] = $this->allowMarkdown; |