Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
35 | public function build(ExpressionInterface $expression, array &$params = []) |
||
36 | { |
||
37 | if (!isset($this->escapingReplacements['\\'])) { |
||
38 | /* |
||
39 | * Different pdo_oci8 versions may or may not implement PDO::quote(), so |
||
40 | * yii\db\Schema::quoteValue() may or may not quote \. |
||
41 | */ |
||
42 | $this->escapingReplacements['\\'] = substr($this->queryBuilder->db->quoteValue('\\'), 1, -1); |
||
43 | } |
||
44 | |||
45 | return parent::build($expression, $params); |
||
46 | } |
||
47 | } |
||
48 |