Passed
Pull Request — master (#855)
by Alexander
06:24
created
src/SendIt/src/Config/MailerConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
             'queueConnection' => null,
19 19
             'transportFactories' => []
20 20
         ]
21
-    ) {
21
+    ){
22 22
         parent::__construct($config);
23 23
     }
24 24
 
Please login to merge, or discard this patch.
src/SendIt/src/Bootloader/MailerBootloader.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     public function __construct(
42 42
         private readonly ConfiguratorInterface $config
43
-    ) {
43
+    ){
44 44
     }
45 45
 
46 46
     public function init(EnvironmentInterface $env): void
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
     public function initTransport(MailerConfig $config, ContainerInterface $container): TransportInterface
73 73
     {
74
-        if ($config->getTransportFactories()) {
74
+        if ($config->getTransportFactories()){
75 75
             $transport = new Transport(
76 76
                 array_map(
77 77
                 // create factory with DI
@@ -88,8 +88,8 @@  discard block
 block discarded – undo
88 88
     public function mailer(TransportInterface $transport, ?EventDispatcherInterface $dispatcher = null): SymfonyMailer
89 89
     {
90 90
         return new Mailer(
91
-            transport: $transport,
92
-            dispatcher: $dispatcher
91
+            transport : $transport,
92
+            dispatcher : $dispatcher
93 93
         );
94 94
     }
95 95
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,8 @@
 block discarded – undo
71 71
 
72 72
     public function initTransport(MailerConfig $config, ContainerInterface $container): TransportInterface
73 73
     {
74
-        if ($config->getTransportFactories()) {
74
+        if ($config->getTransportFactories())
75
+        {
75 76
             $transport = new Transport(
76 77
                 array_map(
77 78
                 // create factory with DI
Please login to merge, or discard this patch.