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 |
||
36 | public function __construct( |
||
37 | string|\Stringable $dsn, |
||
38 | ?string $user = null, |
||
39 | ?string $password = null, |
||
40 | array $options = [] |
||
41 | ) { |
||
42 | parent::__construct($user, $password, $options); |
||
43 | |||
44 | /** @psalm-suppress ArgumentTypeCoercion */ |
||
45 | $this->dsn = DataSourceName::normalize((string)$dsn, $this->getName()); |
||
46 | } |
||
70 |