Completed
Push — queries ( 816141...e1f79b )
by Kamil
49:08 queued 26:57
created
src/Sylius/Component/Mailer/Sender/SenderInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/MailerBundle/Sender/Adapter/SwiftMailerAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.