Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class MySQLOtherBindings implements OtherBindingInterface |
||
8 | { |
||
9 | /** |
||
10 | * Bind a string to the PDO data type. |
||
11 | * |
||
12 | * @param string|int|float|bool|null $value |
||
13 | * @param int $type |
||
14 | * |
||
15 | * @return array |
||
16 | */ |
||
17 | public function bValueType($value, int $type = \PDO::PARAM_STR): array |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * !!!DANGER!!! |
||
24 | * Bind a raw value. |
||
25 | * |
||
26 | * @param string|int|float|bool $value |
||
27 | * |
||
28 | * @return array |
||
29 | */ |
||
30 | public function bRaw($value): array |
||
35 |