@@ -21,6 +21,7 @@ |
||
| 21 | 21 | * @param array $recipients |
| 22 | 22 | * @param array $data |
| 23 | 23 | * @param array $attachments |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function send($code, array $recipients, array $data = [], array $attachments = []); |
| 26 | 27 | } |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | |
| 59 | 59 | $message->setBody($renderedEmail->getBody(), 'text/html'); |
| 60 | 60 | |
| 61 | - foreach($attachments as $attachment) { |
|
| 61 | + foreach ($attachments as $attachment) { |
|
| 62 | 62 | $file = \Swift_Attachment::fromPath($attachment); |
| 63 | 63 | |
| 64 | 64 | $message->attach($file); |