Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | 369 | protected function connectWithParams($connectionParams) |
|
35 | { |
||
36 | 369 | $driverOptions = $this->_params['driverOptions'] ?? []; |
|
37 | |||
38 | 369 | $connectionParams = $this->updateFromMasterConnfiguration($connectionParams); |
|
39 | |||
40 | 369 | $user = $connectionParams['user'] ?? null; |
|
41 | 369 | $password = $connectionParams['password'] ?? null; |
|
42 | |||
43 | 369 | return $this->_driver->connect($connectionParams, $user, $password, $driverOptions); |
|
44 | } |
||
60 |