Conditions | 3 |
Paths | 3 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
44 | public function where(string $conditions, array $bindParams = [], array $bindTypes = []): BuilderInterface |
||
45 | { |
||
46 | if (!empty($this->conditions)) { |
||
47 | $appendCondition = is_array($this->conditions)? implode(') AND (', $this->conditions) : $this->conditions; |
||
48 | $conditions = '(' . $appendCondition . ') AND (' . $conditions . ')'; |
||
49 | } |
||
50 | return parent::where($conditions, $bindParams, $bindTypes); |
||
51 | } |
||
53 |