@@ -149,6 +149,7 @@ discard block |
||
| 149 | 149 | |
| 150 | 150 | /** |
| 151 | 151 | * Confirm and then actually create a rule |
| 152 | + * @param boolean $confirm |
|
| 152 | 153 | */ |
| 153 | 154 | public function createRule($confirm, $msg = '') |
| 154 | 155 | { |
@@ -235,6 +236,7 @@ discard block |
||
| 235 | 236 | |
| 236 | 237 | /** |
| 237 | 238 | * Show confirmation of drop and perform actual drop |
| 239 | + * @param boolean $confirm |
|
| 238 | 240 | */ |
| 239 | 241 | public function doDrop($confirm) |
| 240 | 242 | { |
@@ -379,6 +379,7 @@ |
||
| 379 | 379 | |
| 380 | 380 | /** |
| 381 | 381 | * Drop a sequence |
| 382 | + * @param boolean $confirm |
|
| 382 | 383 | */ |
| 383 | 384 | public function doDrop($confirm, $msg = '') |
| 384 | 385 | { |
@@ -119,6 +119,7 @@ |
||
| 119 | 119 | |
| 120 | 120 | /** |
| 121 | 121 | * Private function to display server and list of databases |
| 122 | + * @param string $action |
|
| 122 | 123 | */ |
| 123 | 124 | public function _printConnection($action) |
| 124 | 125 | { |
@@ -665,6 +665,7 @@ discard block |
||
| 665 | 665 | * Dsiplay a screen where user can create a table from an existing one. |
| 666 | 666 | * We don't have to check if pg supports schema cause create table like |
| 667 | 667 | * is available under pg 7.4+ which has schema. |
| 668 | + * @param boolean $confirm |
|
| 668 | 669 | */ |
| 669 | 670 | public function doCreateLike($confirm, $msg = '') |
| 670 | 671 | { |
@@ -779,6 +780,7 @@ discard block |
||
| 779 | 780 | |
| 780 | 781 | /** |
| 781 | 782 | * Ask for select parameters and perform select |
| 783 | + * @param boolean $confirm |
|
| 782 | 784 | */ |
| 783 | 785 | public function doSelectRows($confirm, $msg = '') |
| 784 | 786 | { |
@@ -905,6 +907,7 @@ discard block |
||
| 905 | 907 | |
| 906 | 908 | /** |
| 907 | 909 | * Ask for insert parameters and then actually insert row |
| 910 | + * @param boolean $confirm |
|
| 908 | 911 | */ |
| 909 | 912 | public function doInsertRow($confirm, $msg = '') |
| 910 | 913 | { |
@@ -1052,6 +1055,7 @@ discard block |
||
| 1052 | 1055 | |
| 1053 | 1056 | /** |
| 1054 | 1057 | * Show confirmation of empty and perform actual empty |
| 1058 | + * @param boolean $confirm |
|
| 1055 | 1059 | */ |
| 1056 | 1060 | public function doEmpty($confirm) |
| 1057 | 1061 | { |
@@ -1120,6 +1124,7 @@ discard block |
||
| 1120 | 1124 | |
| 1121 | 1125 | /** |
| 1122 | 1126 | * Show confirmation of drop and perform actual drop |
| 1127 | + * @param boolean $confirm |
|
| 1123 | 1128 | */ |
| 1124 | 1129 | public function doDrop($confirm) |
| 1125 | 1130 | { |
@@ -840,6 +840,7 @@ |
||
| 840 | 840 | |
| 841 | 841 | /** |
| 842 | 842 | * Show confirmation of drop column and perform actual drop |
| 843 | + * @param boolean $confirm |
|
| 843 | 844 | */ |
| 844 | 845 | public function doDrop($confirm) |
| 845 | 846 | { |
@@ -294,6 +294,7 @@ discard block |
||
| 294 | 294 | |
| 295 | 295 | /** |
| 296 | 296 | * Show confirmation of drop and perform actual drop |
| 297 | + * @param boolean $confirm |
|
| 297 | 298 | */ |
| 298 | 299 | public function doDrop($confirm) |
| 299 | 300 | { |
@@ -330,6 +331,7 @@ discard block |
||
| 330 | 331 | |
| 331 | 332 | /** |
| 332 | 333 | * Show confirmation of enable trigger and perform enabling the trigger |
| 334 | + * @param boolean $confirm |
|
| 333 | 335 | */ |
| 334 | 336 | public function doEnable($confirm) |
| 335 | 337 | { |
@@ -365,6 +367,7 @@ discard block |
||
| 365 | 367 | |
| 366 | 368 | /** |
| 367 | 369 | * Show confirmation of disable trigger and perform disabling the trigger |
| 370 | + * @param boolean $confirm |
|
| 368 | 371 | */ |
| 369 | 372 | public function doDisable($confirm) |
| 370 | 373 | { |
@@ -220,6 +220,7 @@ discard block |
||
| 220 | 220 | |
| 221 | 221 | /** |
| 222 | 222 | * Show confirmation of change password and actually change password |
| 223 | + * @param boolean $confirm |
|
| 223 | 224 | */ |
| 224 | 225 | public function doChangePassword($confirm, $msg = '') |
| 225 | 226 | { |
@@ -377,6 +378,7 @@ discard block |
||
| 377 | 378 | |
| 378 | 379 | /** |
| 379 | 380 | * Show confirmation of drop and perform actual drop |
| 381 | + * @param boolean $confirm |
|
| 380 | 382 | */ |
| 381 | 383 | public function doDrop($confirm) |
| 382 | 384 | { |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * @@ assumes that the query will return only one row - returns field value in the first row |
| 103 | 103 | * |
| 104 | 104 | * @param $sql The SQL statement to be executed |
| 105 | - * @param $field The field name to be returned |
|
| 105 | + * @param string $field The field name to be returned |
|
| 106 | 106 | * @return A single field value |
| 107 | 107 | * @return -1 No rows were found |
| 108 | 108 | */ |
@@ -347,7 +347,7 @@ discard block |
||
| 347 | 347 | /** |
| 348 | 348 | * Get the backend platform |
| 349 | 349 | * |
| 350 | - * @return The backend platform |
|
| 350 | + * @return string backend platform |
|
| 351 | 351 | */ |
| 352 | 352 | public function getPlatform() |
| 353 | 353 | { |
@@ -383,7 +383,7 @@ discard block |
||
| 383 | 383 | * Change a db array into a PHP array |
| 384 | 384 | * |
| 385 | 385 | * @param $dbarr |
| 386 | - * @return \PHPPgAdmin\Database\A PHP array |
|
| 386 | + * @return string[] PHP array |
|
| 387 | 387 | * @internal param String $arr representing the DB array |
| 388 | 388 | */ |
| 389 | 389 | public function phpArray($dbarr) |
@@ -174,7 +174,7 @@ |
||
| 174 | 174 | /** |
| 175 | 175 | * Get the last error in the connection |
| 176 | 176 | * |
| 177 | - * @return Error string |
|
| 177 | + * @return string string |
|
| 178 | 178 | */ |
| 179 | 179 | public function getLastError() |
| 180 | 180 | { |