Conditions | 4 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 4.8437 |
Changes | 0 |
1 | <?php |
||
17 | 42 | public function bindParam($column, &$variable, $type = ParameterType::STRING, $length = null, $driverOptions = null) : void |
|
18 | { |
||
19 | 42 | if (($type === ParameterType::LARGE_OBJECT || $type === ParameterType::BINARY) |
|
20 | 42 | && $driverOptions === null |
|
21 | ) { |
||
22 | 42 | $driverOptions = PDO::SQLSRV_ENCODING_BINARY; |
|
23 | } |
||
24 | |||
25 | 42 | parent::bindParam($column, $variable, $type, $length, $driverOptions); |
|
26 | 42 | } |
|
36 |