@@ -19,7 +19,7 @@ |
||
19 | 19 | * @param bool $recordset return as RecordSet suitable for HTMLTableController::printTable if true, otherwise just return an array |
20 | 20 | * @param mixed $group a group name to filter the returned servers using $this->conf[srv_groups] |
21 | 21 | * |
22 | - * @return array|\PHPPgAdmin\ArrayRecordSet either an array or a Recordset suitable for HTMLTableController::printTable |
|
22 | + * @return callable|null either an array or a Recordset suitable for HTMLTableController::printTable |
|
23 | 23 | */ |
24 | 24 | public function getServers($recordset = false, $group = false) |
25 | 25 | { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * Ask for select parameters and perform select. |
50 | 50 | * |
51 | - * @param mixed $confirm |
|
51 | + * @param boolean $confirm |
|
52 | 52 | * @param mixed $msg |
53 | 53 | */ |
54 | 54 | public function doSelectRows($confirm, $msg = '') |
@@ -24,6 +24,10 @@ discard block |
||
24 | 24 | public $controller_title = 'html'; |
25 | 25 | |
26 | 26 | // Constructor |
27 | + |
|
28 | + /** |
|
29 | + * @param string $controller_name |
|
30 | + */ |
|
27 | 31 | public function __construct(\Slim\Container $container, $controller_name = null) |
28 | 32 | { |
29 | 33 | $this->container = $container; |
@@ -60,6 +64,7 @@ discard block |
||
60 | 64 | * these are appended to the URL |
61 | 65 | * @param array $fields field data from which 'urlfield' and 'vars' are obtained |
62 | 66 | * @param null|mixed $from |
67 | + * @return string |
|
63 | 68 | */ |
64 | 69 | protected function getActionUrl(&$action, &$fields, $from = null) |
65 | 70 | { |
@@ -131,8 +136,8 @@ discard block |
||
131 | 136 | * ); |
132 | 137 | * the special attribute 'href' might be a string or an array. If href is an array it |
133 | 138 | * will be generated by getActionUrl. See getActionUrl comment for array format. |
134 | - * @param mixed $do_print |
|
135 | - * @param null|mixed $from |
|
139 | + * @param boolean $do_print |
|
140 | + * @param string $from |
|
136 | 141 | */ |
137 | 142 | public function printLink($link, $do_print = true, $from = null) |
138 | 143 | { |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | * [printTopbar description]. |
177 | 177 | * |
178 | 178 | * @param bool $do_print true to print, false to return html |
179 | - * @param null|mixed $from which method is calling this one |
|
179 | + * @param string $from which method is calling this one |
|
180 | 180 | * |
181 | 181 | * @return string |
182 | 182 | */ |
@@ -431,6 +431,9 @@ discard block |
||
431 | 431 | return $trail; |
432 | 432 | } |
433 | 433 | |
434 | + /** |
|
435 | + * @param string $subject |
|
436 | + */ |
|
434 | 437 | private function _getLastTrailPart($subject, $trail) |
435 | 438 | { |
436 | 439 | $lang = $this->lang; |
@@ -24,6 +24,10 @@ |
||
24 | 24 | public $controller_title = 'base'; |
25 | 25 | |
26 | 26 | // Constructor |
27 | + |
|
28 | + /** |
|
29 | + * @param string $controller_name |
|
30 | + */ |
|
27 | 31 | public function __construct(\Slim\Container $container, $controller_name = null) |
28 | 32 | { |
29 | 33 | $this->container = $container; |