@@ -27,8 +27,10 @@ |
||
| 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 | } |