Completed
Push — master ( ee9f0a...ea1904 )
by Alejandro
04:45
created
src/Form/ContactFilter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     {
48 48
         $input = new Input($name);
49 49
         $input->setRequired($required)
50
-              ->getFilterChain()->attach(new StripTags())
50
+                ->getFilterChain()->attach(new StripTags())
51 51
                                 ->attach(new StringTrim());
52 52
         return $input;
53 53
     }
Please login to merge, or discard this patch.
src/Service/ContactService.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,10 +43,10 @@
 block discarded – undo
43 43
     private function createMessage(array $messageData)
44 44
     {
45 45
         return \Swift_Message::newInstance($this->options->getSubject())
46
-                             ->setTo($this->options->getTo())
47
-                             ->setFrom($this->options->getFrom())
48
-                             ->setReplyTo($messageData['email'])
49
-                             ->setBody($this->composeBody($messageData), 'text/html');
46
+                                ->setTo($this->options->getTo())
47
+                                ->setFrom($this->options->getFrom())
48
+                                ->setReplyTo($messageData['email'])
49
+                                ->setBody($this->composeBody($messageData), 'text/html');
50 50
     }
51 51
 
52 52
     private function composeBody(array $messageData)
Please login to merge, or discard this patch.
src/Factory/SwiftMailerFactory.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
         $mailConfig = $container->get('config')['mail'];
11 11
         $smtp = $mailConfig['smtp'];
12 12
         $transport = \Swift_SmtpTransport::newInstance($smtp['server'], $smtp['port'], $smtp['ssl'])
13
-                                         ->setUsername($smtp['username'])
14
-                                         ->setPassword($smtp['password']);
13
+                                            ->setUsername($smtp['username'])
14
+                                            ->setPassword($smtp['password']);
15 15
         return new \Swift_Mailer($transport);
16 16
     }
17 17
 }
Please login to merge, or discard this patch.