@@ -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]; |
@@ -32,7 +32,6 @@ |
||
32 | 32 | * Bind an integer or null. |
33 | 33 | * |
34 | 34 | * @param string|int|float|bool|null $value |
35 | - |
|
36 | 35 | * |
37 | 36 | * @return array |
38 | 37 | * @throws TypeError |
@@ -55,7 +55,6 @@ discard block |
||
55 | 55 | * Bind a boolean value as bool. |
56 | 56 | * |
57 | 57 | * @param int|bool $value |
58 | - |
|
59 | 58 | * |
60 | 59 | * @return array |
61 | 60 | * @throws TypeError |
@@ -138,7 +137,6 @@ discard block |
||
138 | 137 | * YYYY-MM-DD HH:MM:SS is the proper date format. |
139 | 138 | * |
140 | 139 | * @param string $value |
141 | - |
|
142 | 140 | * |
143 | 141 | * @return array |
144 | 142 | * @throws TypeError |