Completed
Push — master ( 350fec...8cb11f )
by Alejandro
08:57
created
src/Factory/RecaptchaFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 {
9 9
     public function __invoke(ContainerInterface $container)
10 10
     {
11
-        $recaptchaConfig = $container->get('config')['recaptcha'];
12
-        return new ReCaptcha($recaptchaConfig['private_key']);
11
+        $recaptchaConfig = $container->get('config')[ 'recaptcha' ];
12
+        return new ReCaptcha($recaptchaConfig[ 'private_key' ]);
13 13
     }
14 14
 }
Please login to merge, or discard this patch.
src/Factory/SwiftMailerFactory.php 2 patches
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.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
 {
8 8
     public function __invoke(ContainerInterface $container)
9 9
     {
10
-        $mailConfig = $container->get('config')['mail'];
11
-        $smtp = $mailConfig['smtp'];
12
-        $transport = \Swift_SmtpTransport::newInstance($smtp['server'], $smtp['port'], $smtp['ssl'])
13
-                                         ->setUsername($smtp['username'])
14
-                                         ->setPassword($smtp['password']);
10
+        $mailConfig = $container->get('config')[ 'mail' ];
11
+        $smtp = $mailConfig[ 'smtp' ];
12
+        $transport = \Swift_SmtpTransport::newInstance($smtp[ 'server' ], $smtp[ 'port' ], $smtp[ 'ssl' ])
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.