Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
66 | public function __construct(string $dbname, array $params) |
||
67 | { |
||
68 | $this->dbname = $dbname; |
||
69 | $this->host = $params['host']; |
||
70 | $this->port = $params['port']; |
||
71 | $this->username = $params['username']; |
||
72 | $this->password = $params['password']; |
||
73 | $this->options = $params['options']; |
||
74 | } |
||
119 |