Completed
Push — 5.0 ( 1aa505...f11eac )
by David
05:03
created
Category
src/SwiftTwigMailGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,12 +103,12 @@
 block discarded – undo
103 103
      *
104 104
      * @return \Swift_Message
105 105
      */
106
-    public function renderMail(array $data = []) :\Swift_Message
106
+    public function renderMail(array $data = [ ]) :\Swift_Message
107 107
     {
108 108
         $mail = new \Swift_Message();
109 109
 
110 110
         $twigEnvironment = clone $this->twigEnvironment;
111
-        $function = new \Twig_SimpleFunction('embedImage', function ($imgPath) use ($mail) {
111
+        $function = new \Twig_SimpleFunction('embedImage', function($imgPath) use ($mail) {
112 112
             return $mail->embed(\Swift_Image::fromPath($imgPath));
113 113
         });
114 114
         $twigEnvironment->addFunction($function);
Please login to merge, or discard this patch.