@@ -390,7 +390,7 @@ |
||
390 | 390 | /** |
391 | 391 | * Drop a sequence. |
392 | 392 | * |
393 | - * @param mixed $confirm |
|
393 | + * @param boolean $confirm |
|
394 | 394 | * @param mixed $msg |
395 | 395 | */ |
396 | 396 | public function doDrop($confirm, $msg = '') |
@@ -707,7 +707,7 @@ discard block |
||
707 | 707 | * We don't have to check if pg supports schema cause create table like |
708 | 708 | * is available under pg 7.4+ which has schema. |
709 | 709 | * |
710 | - * @param mixed $confirm |
|
710 | + * @param boolean $confirm |
|
711 | 711 | * @param mixed $msg |
712 | 712 | */ |
713 | 713 | public function doCreateLike($confirm, $msg = '') |
@@ -822,7 +822,7 @@ discard block |
||
822 | 822 | /** |
823 | 823 | * Ask for select parameters and perform select. |
824 | 824 | * |
825 | - * @param mixed $confirm |
|
825 | + * @param boolean $confirm |
|
826 | 826 | * @param mixed $msg |
827 | 827 | */ |
828 | 828 | public function doSelectRows($confirm, $msg = '') |
@@ -1104,7 +1104,7 @@ discard block |
||
1104 | 1104 | /** |
1105 | 1105 | * Show confirmation of empty and perform actual empty. |
1106 | 1106 | * |
1107 | - * @param mixed $confirm |
|
1107 | + * @param boolean $confirm |
|
1108 | 1108 | */ |
1109 | 1109 | public function doEmpty($confirm) |
1110 | 1110 | { |
@@ -1178,7 +1178,7 @@ discard block |
||
1178 | 1178 | /** |
1179 | 1179 | * Show confirmation of drop and perform actual drop. |
1180 | 1180 | * |
1181 | - * @param mixed $confirm |
|
1181 | + * @param boolean $confirm |
|
1182 | 1182 | */ |
1183 | 1183 | public function doDrop($confirm) |
1184 | 1184 | { |
@@ -250,7 +250,7 @@ |
||
250 | 250 | /** |
251 | 251 | * Show confirmation of drop and perform actual drop. |
252 | 252 | * |
253 | - * @param mixed $confirm |
|
253 | + * @param boolean $confirm |
|
254 | 254 | */ |
255 | 255 | public function doDrop($confirm) |
256 | 256 | { |
@@ -294,7 +294,7 @@ discard block |
||
294 | 294 | /** |
295 | 295 | * Show confirmation of drop and perform actual drop. |
296 | 296 | * |
297 | - * @param mixed $confirm |
|
297 | + * @param boolean $confirm |
|
298 | 298 | */ |
299 | 299 | public function doDrop($confirm) |
300 | 300 | { |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | /** |
333 | 333 | * Show confirmation of enable trigger and perform enabling the trigger. |
334 | 334 | * |
335 | - * @param mixed $confirm |
|
335 | + * @param boolean $confirm |
|
336 | 336 | */ |
337 | 337 | public function doEnable($confirm) |
338 | 338 | { |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | /** |
370 | 370 | * Show confirmation of disable trigger and perform disabling the trigger. |
371 | 371 | * |
372 | - * @param mixed $confirm |
|
372 | + * @param boolean $confirm |
|
373 | 373 | */ |
374 | 374 | public function doDisable($confirm) |
375 | 375 | { |
@@ -330,7 +330,7 @@ |
||
330 | 330 | /** |
331 | 331 | * Show confirmation of drop and perform actual drop. |
332 | 332 | * |
333 | - * @param mixed $confirm |
|
333 | + * @param boolean $confirm |
|
334 | 334 | */ |
335 | 335 | public function doDrop($confirm) |
336 | 336 | { |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | /** |
236 | 236 | * Show confirmation of change password and actually change password. |
237 | 237 | * |
238 | - * @param mixed $confirm |
|
238 | + * @param boolean $confirm |
|
239 | 239 | * @param mixed $msg |
240 | 240 | */ |
241 | 241 | public function doChangePassword($confirm, $msg = '') |
@@ -384,7 +384,7 @@ discard block |
||
384 | 384 | /** |
385 | 385 | * Show confirmation of drop and perform actual drop. |
386 | 386 | * |
387 | - * @param mixed $confirm |
|
387 | + * @param boolean $confirm |
|
388 | 388 | */ |
389 | 389 | public function doDrop($confirm) |
390 | 390 | { |
@@ -266,7 +266,7 @@ |
||
266 | 266 | /** |
267 | 267 | * Show confirmation of drop and perform actual drop. |
268 | 268 | * |
269 | - * @param mixed $confirm |
|
269 | + * @param boolean $confirm |
|
270 | 270 | */ |
271 | 271 | public function doDrop($confirm) |
272 | 272 | { |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * Base constructor. |
29 | 29 | * |
30 | 30 | * @param \PHPPgAdmin\ADONewConnection $conn The connection object |
31 | - * @param mixed $container |
|
31 | + * @param \Slim\Container $container |
|
32 | 32 | * @param mixed $server_info |
33 | 33 | */ |
34 | 34 | public function __construct(&$conn, $container, $server_info) |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | * @param string $sql The SQL statement to be executed |
220 | 220 | * @param string $field The field name to be returned |
221 | 221 | * |
222 | - * @return int|string single field value, error number on error or -1 if no rows where found |
|
222 | + * @return string single field value, error number on error or -1 if no rows where found |
|
223 | 223 | */ |
224 | 224 | public function selectField($sql, $field) |
225 | 225 | { |
@@ -540,7 +540,7 @@ discard block |
||
540 | 540 | * |
541 | 541 | * @param string $dbarr |
542 | 542 | * |
543 | - * @return array A PHP array |
|
543 | + * @return string[] A PHP array |
|
544 | 544 | * |
545 | 545 | * @internal param String $arr representing the DB array |
546 | 546 | */ |
@@ -297,6 +297,11 @@ |
||
297 | 297 | |
298 | 298 | abstract public function execute($sql); |
299 | 299 | |
300 | + /** |
|
301 | + * @param string $obj_type |
|
302 | + * @param string $table |
|
303 | + * @param string $comment |
|
304 | + */ |
|
300 | 305 | abstract public function setComment($obj_type, $obj_name, $table, $comment, $basetype = null); |
301 | 306 | |
302 | 307 | abstract public function selectSet($sql); |