@@ -47,7 +47,7 @@ |
||
| 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 | } |
@@ -10,8 +10,8 @@ |
||
| 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 | } |
@@ -50,10 +50,10 @@ |
||
| 50 | 50 | private function createMessage(array $messageData): \Swift_Mime_MimePart |
| 51 | 51 | { |
| 52 | 52 | return \Swift_Message::newInstance($this->options->getSubject()) |
| 53 | - ->setTo($this->options->getTo()) |
|
| 54 | - ->setFrom($this->options->getFrom()) |
|
| 55 | - ->setReplyTo($messageData['email']) |
|
| 56 | - ->setBody($this->composeBody($messageData), 'text/html'); |
|
| 53 | + ->setTo($this->options->getTo()) |
|
| 54 | + ->setFrom($this->options->getFrom()) |
|
| 55 | + ->setReplyTo($messageData['email']) |
|
| 56 | + ->setBody($this->composeBody($messageData), 'text/html'); |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | public function configure() |
| 29 | 29 | { |
| 30 | 30 | $this->setName('website:long-tasks') |
| 31 | - ->setDescription('Runs all the preconfigured long tasks'); |
|
| 31 | + ->setDescription('Runs all the preconfigured long tasks'); |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | public function execute(InputInterface $input, OutputInterface $output) |