@@ -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; |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | 'api', $this->key |
| 74 | 74 | ], |
| 75 | 75 | 'multipart' => [ |
| 76 | - ['name' => 'to', 'contents' => implode(',', $recipients)], |
|
| 76 | + ['name' => 'to', 'contents' => implode(',', $recipients)], |
|
| 77 | 77 | ['name' => 'message', 'contents' => $message->toString(), 'filename' => 'message.mime'], |
| 78 | 78 | ] |
| 79 | 79 | ]); |