Test Failed
Pull Request — master (#873)
by butschster
11:55 queued 03:53
created
src/SendIt/src/TransportResolver.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
     public function __construct(
18 18
         private readonly Transport $transport,
19
-    ) {
19
+    ){
20 20
     }
21 21
 
22 22
     public function registerTransport(TransportFactoryInterface $factory): void
@@ -27,8 +27,8 @@  discard block
 block discarded – undo
27 27
     public function resolve(string $dsn): TransportInterface
28 28
     {
29 29
         $dsnDto = Dsn::fromString($dsn);
30
-        foreach ($this->transports as $transport) {
31
-            if ($transport->supports($dsnDto)) {
30
+        foreach ($this->transports as $transport){
31
+            if ($transport->supports($dsnDto)){
32 32
                 return $transport->create($dsnDto);
33 33
             }
34 34
         }
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,8 +27,10 @@
 block discarded – undo
27 27
     public function resolve(string $dsn): TransportInterface
28 28
     {
29 29
         $dsnDto = Dsn::fromString($dsn);
30
-        foreach ($this->transports as $transport) {
31
-            if ($transport->supports($dsnDto)) {
30
+        foreach ($this->transports as $transport)
31
+        {
32
+            if ($transport->supports($dsnDto))
33
+            {
32 34
                 return $transport->create($dsnDto);
33 35
             }
34 36
         }
Please login to merge, or discard this patch.
src/SendIt/src/Bootloader/MailerBootloader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     public function __construct(
50 50
         private readonly ConfiguratorInterface $config
51
-    ) {
51
+    ){
52 52
     }
53 53
 
54 54
     public function init(EnvironmentInterface $env): void
@@ -84,8 +84,8 @@  discard block
 block discarded – undo
84 84
     public function mailer(TransportInterface $transport, ?EventDispatcherInterface $dispatcher = null): SymfonyMailer
85 85
     {
86 86
         return new Mailer(
87
-            transport: $transport,
88
-            dispatcher: $dispatcher
87
+            transport : $transport,
88
+            dispatcher : $dispatcher
89 89
         );
90 90
     }
91 91
 
Please login to merge, or discard this patch.