@@ -16,7 +16,7 @@ discard block |
||
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 |
||
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 | } |
@@ -48,7 +48,7 @@ discard block |
||
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 |
||
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 |