@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | ***************/ |
89 | 89 | |
90 | 90 | /** |
91 | - * @param int|string $offset |
|
91 | + * @param integer $offset |
|
92 | 92 | * |
93 | 93 | * @return bool |
94 | 94 | */ |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
100 | - * @param int|string $offset |
|
100 | + * @param integer $offset |
|
101 | 101 | * |
102 | 102 | * @return \chillerlan\Database\DBResultRow|mixed|null |
103 | 103 | */ |
@@ -43,6 +43,9 @@ discard block |
||
43 | 43 | */ |
44 | 44 | protected $cacheDriver; |
45 | 45 | |
46 | + /** |
|
47 | + * @param string $data |
|
48 | + */ |
|
46 | 49 | abstract protected function __escape($data); |
47 | 50 | |
48 | 51 | abstract protected function __raw(string $sql, string $index = null, bool $assoc = true); |
@@ -51,6 +54,9 @@ discard block |
||
51 | 54 | |
52 | 55 | abstract protected function __multi(string $sql, array $values); |
53 | 56 | |
57 | + /** |
|
58 | + * @param callable $callback |
|
59 | + */ |
|
54 | 60 | abstract protected function __multi_callback(string $sql, array $data, $callback); |
55 | 61 | |
56 | 62 | /** |
@@ -199,7 +199,7 @@ |
||
199 | 199 | } |
200 | 200 | |
201 | 201 | /** |
202 | - * @param $stmt |
|
202 | + * @param PDOStatement $stmt |
|
203 | 203 | * @param string|null $index |
204 | 204 | * @param bool $assoc |
205 | 205 | * |