@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | public function bBoolNullable($value = null): array |
21 | 21 | { |
22 | 22 | // use NULL |
23 | - if ($value === null ) { |
|
23 | + if ($value === null) { |
|
24 | 24 | return [null, PDO::PARAM_NULL]; |
25 | 25 | } |
26 | 26 | |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | public function bBool($value): array |
39 | 39 | { |
40 | 40 | if ($value === null) { |
41 | - throw new TypeError('Can not bind ' . gettype($value) . ':(' . $value .') in boolean spot.'); |
|
41 | + throw new TypeError('Can not bind ' . gettype($value) . ':(' . $value . ') in boolean spot.'); |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | return [$value, PDO::PARAM_BOOL]; |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | public function bBoolInt($value): array |
75 | 75 | { |
76 | 76 | if ($value === null) { |
77 | - throw new TypeError('Can not bind ' . gettype($value) . ':(' . $value .') in boolean / integer spot.'); |
|
77 | + throw new TypeError('Can not bind ' . gettype($value) . ':(' . $value . ') in boolean / integer spot.'); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | return [(int) $value, PDO::PARAM_INT]; |