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