@@ -280,8 +280,6 @@ discard block |
||
280 | 280 | /** |
281 | 281 | * Sets the width attribute of each column in the array. |
282 | 282 | * |
283 | - * @param array $value An Array of column widths in the order of the keys in the |
|
284 | - * source table array. |
|
285 | 283 | */ |
286 | 284 | public function setColumnWidths($widthArray) |
287 | 285 | { |
@@ -291,7 +289,6 @@ discard block |
||
291 | 289 | /** |
292 | 290 | * An optional array of values that can be preselected when using |
293 | 291 | * |
294 | - * @param array $value Indicates the INPUT form element type attribute. |
|
295 | 292 | */ |
296 | 293 | public function setSelectedValues($valueArray) |
297 | 294 | { |
@@ -328,7 +325,7 @@ discard block |
||
328 | 325 | /** |
329 | 326 | * Determines what class the current row should have applied. |
330 | 327 | * |
331 | - * @param int $value The position of the current row being rendered. |
|
328 | + * @param integer $position |
|
332 | 329 | * @return string |
333 | 330 | */ |
334 | 331 | public function determineRowClass($position) |
@@ -355,7 +352,6 @@ discard block |
||
355 | 352 | * Generates an onclick action applied to the current cell, to execute |
356 | 353 | * any specified cell actions. |
357 | 354 | * |
358 | - * @param string $value Indicates the INPUT form element type attribute. |
|
359 | 355 | * @return string |
360 | 356 | */ |
361 | 357 | public function getCellAction($currentActionFieldValue) |
@@ -397,7 +393,7 @@ discard block |
||
397 | 393 | /** |
398 | 394 | * Function to prepare a link generated in the table cell/link actions. |
399 | 395 | * |
400 | - * @param string $value Indicates the INPUT form element type attribute. |
|
396 | + * @param string $link |
|
401 | 397 | * @return string |
402 | 398 | */ |
403 | 399 | public function prepareLink($link) |
@@ -149,7 +149,7 @@ |
||
149 | 149 | /** |
150 | 150 | * This function returns the current page number. |
151 | 151 | * |
152 | - * @return int |
|
152 | + * @return string |
|
153 | 153 | */ |
154 | 154 | public function getCurrentPage() |
155 | 155 | { |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | ]; |
47 | 47 | |
48 | 48 | /** |
49 | - * @param $name |
|
49 | + * @param string $name |
|
50 | 50 | * @param $value |
51 | 51 | */ |
52 | 52 | public function setConfig($name, $value) |
@@ -161,6 +161,9 @@ discard block |
||
161 | 161 | } |
162 | 162 | } |
163 | 163 | |
164 | + /** |
|
165 | + * @param string $key |
|
166 | + */ |
|
164 | 167 | protected function getCastType($key) |
165 | 168 | { |
166 | 169 | return isset($this->casts[$key]) ? trim(strtolower($this->casts[$key])) : null; |
@@ -350,7 +350,7 @@ |
||
350 | 350 | } |
351 | 351 | |
352 | 352 | /** |
353 | - * @param $id |
|
353 | + * @param integer $id |
|
354 | 354 | * @return null|array |
355 | 355 | */ |
356 | 356 | public function getAliasListing($id) : ?array |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | |
261 | 261 | /** |
262 | 262 | * {@inheritDoc} |
263 | - * @return bool|PDOStatement |
|
263 | + * @return PDOStatement |
|
264 | 264 | */ |
265 | 265 | public function query($sql) |
266 | 266 | { |
@@ -423,7 +423,7 @@ discard block |
||
423 | 423 | } |
424 | 424 | |
425 | 425 | /** |
426 | - * @param $name |
|
426 | + * @param string $name |
|
427 | 427 | * @return bool |
428 | 428 | */ |
429 | 429 | public function hasConnectionName($name) |
@@ -102,6 +102,7 @@ discard block |
||
102 | 102 | |
103 | 103 | /** |
104 | 104 | * {@inheritDoc} |
105 | + * @param mysqli_result $result |
|
105 | 106 | */ |
106 | 107 | public function isResult($result) |
107 | 108 | { |
@@ -161,7 +162,7 @@ discard block |
||
161 | 162 | |
162 | 163 | /** |
163 | 164 | * {@inheritDoc} |
164 | - * @return bool|mysqli_result |
|
165 | + * @return mysqli_result |
|
165 | 166 | * @throws \ReflectionException |
166 | 167 | */ |
167 | 168 | public function query($sql) |
@@ -8,7 +8,7 @@ |
||
8 | 8 | |
9 | 9 | /** |
10 | 10 | * @param string $message |
11 | - * @param int|string $code |
|
11 | + * @param integer $code |
|
12 | 12 | * @param Throwable|null $previous |
13 | 13 | */ |
14 | 14 | public function __construct($message = '', $code = 0, Throwable $previous = null) |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | interface DatabaseInterface extends ProxyInterface |
6 | 6 | { |
7 | 7 | /** |
8 | - * @return mixed |
|
8 | + * @return DriverInterface |
|
9 | 9 | */ |
10 | 10 | public function getDriver(); |
11 | 11 | |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | |
27 | 27 | /** |
28 | 28 | * @param string $table |
29 | - * @param string|array $where |
|
29 | + * @param string $where |
|
30 | 30 | * @param string $orderBy |
31 | 31 | * @param string $limit |
32 | 32 | * @return mixed |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | /** |
39 | 39 | * @param string|array $fields |
40 | 40 | * @param string|array $tables |
41 | - * @param string|array $where |
|
41 | + * @param string $where |
|
42 | 42 | * @param string $orderBy |
43 | 43 | * @param string $limit |
44 | 44 | * @return mixed |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | /** |
51 | 51 | * @param string|array $values |
52 | 52 | * @param string $table |
53 | - * @param string|array $where |
|
53 | + * @param string $where |
|
54 | 54 | * @return mixed |
55 | 55 | * @throws Exceptions\TableNotDefinedException |
56 | 56 | * @throws Exceptions\InvalidFieldException |
@@ -60,9 +60,9 @@ discard block |
||
60 | 60 | /** |
61 | 61 | * @param string|array $fields |
62 | 62 | * @param string $table |
63 | - * @param string|array $fromFields |
|
63 | + * @param string $fromFields |
|
64 | 64 | * @param string $fromTable |
65 | - * @param string|array $where |
|
65 | + * @param string $where |
|
66 | 66 | * @param string $limit |
67 | 67 | * @return mixed |
68 | 68 | * @throws Exceptions\TableNotDefinedException |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | /** |
83 | 83 | * @param string|array $fields |
84 | 84 | * @param string $table |
85 | - * @param string|array $where |
|
85 | + * @param string $where |
|
86 | 86 | * @return mixed |
87 | 87 | * @throws Exceptions\TableNotDefinedException |
88 | 88 | * @throws Exceptions\InvalidFieldException |
@@ -9,6 +9,7 @@ |
||
9 | 9 | |
10 | 10 | /** |
11 | 11 | * {@inheritDoc} |
12 | + * @param string $key |
|
12 | 13 | */ |
13 | 14 | public function getConfig($key = null) |
14 | 15 | { |