Total Complexity | 10 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class MySQLLogicBindings implements LogicBindingInterface |
||
11 | { |
||
12 | /** |
||
13 | * Bind a boolean value as bool, with NULL option. |
||
14 | * |
||
15 | * @param int|bool|null $value |
||
16 | * @param bool $null |
||
17 | * |
||
18 | * @return array |
||
19 | * @throws Exception |
||
20 | */ |
||
21 | public function bBool($value = null, bool $null = false): array |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * Bind a boolean value as int, with NULL option. |
||
37 | * |
||
38 | * @param int|bool|null $value |
||
39 | * @param bool $null |
||
40 | * |
||
41 | * @return array |
||
42 | * @throws Exception |
||
43 | */ |
||
44 | public function bBoolInt($value = null, bool $null = false): array |
||
58 |