| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | public function __construct( |
||
| 34 | string|\Stringable $dsn, |
||
| 35 | ?string $user = null, |
||
| 36 | ?string $password = null, |
||
| 37 | array $options = [], |
||
| 38 | ) { |
||
| 39 | parent::__construct($user, $password, $options); |
||
| 40 | |||
| 41 | /** @psalm-suppress ArgumentTypeCoercion */ |
||
| 42 | $this->dsn = DataSourceName::normalize((string) $dsn, $this->getName()); |
||
| 43 | } |
||
| 56 |