@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | |
78 | 78 | $payload = [ |
79 | 79 | 'headers' => [ |
80 | - 'Authorization' => 'Bearer ' . $this->apiKey, |
|
80 | + 'Authorization' => 'Bearer '.$this->apiKey, |
|
81 | 81 | 'Content-Type' => 'application/json', |
82 | 82 | ], |
83 | 83 | 'json' => $data, |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | |
210 | 210 | private function getAttachmentContentType(Datapart $dataPart): string |
211 | 211 | { |
212 | - return $dataPart->getMediaType() . '/' . $dataPart->getMediaSubtype(); |
|
212 | + return $dataPart->getMediaType().'/'.$dataPart->getMediaSubtype(); |
|
213 | 213 | } |
214 | 214 | |
215 | 215 | /** |
@@ -259,10 +259,10 @@ discard block |
||
259 | 259 | foreach ($personalizations as $index => $params) { |
260 | 260 | foreach ($params as $key => $val) { |
261 | 261 | if (in_array($key, ['to', 'cc', 'bcc'])) { |
262 | - Arr::set($data, 'personalizations.' . $index . '.' . $key, $val); |
|
262 | + Arr::set($data, 'personalizations.'.$index.'.'.$key, $val); |
|
263 | 263 | ++$this->numberOfRecipients; |
264 | 264 | } else { |
265 | - Arr::set($data, 'personalizations.' . $index . '.' . $key, $val); |
|
265 | + Arr::set($data, 'personalizations.'.$index.'.'.$key, $val); |
|
266 | 266 | } |
267 | 267 | } |
268 | 268 | } |