@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | /** |
| 42 | 42 | * Constructor |
| 43 | 43 | * |
| 44 | - * @param mixed $db |
|
| 44 | + * @param null|\XoopsDatabase $db |
|
| 45 | 45 | */ |
| 46 | 46 | public function __construct(\XoopsDatabase $db = null) |
| 47 | 47 | { |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | * |
| 54 | 54 | * @param string $sort order ('id', order', or 'title') - default: id |
| 55 | 55 | * |
| 56 | - * @return mixed Category | false on failure |
|
| 56 | + * @return boolean Category | false on failure |
|
| 57 | 57 | */ |
| 58 | 58 | public function getObj($sort = 'id') |
| 59 | 59 | { |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | /** |
| 42 | 42 | * Constructor |
| 43 | 43 | * |
| 44 | - * @param mixed $db |
|
| 44 | + * @param null|\XoopsDatabase $db |
|
| 45 | 45 | */ |
| 46 | 46 | public function __construct(\XoopsDatabase $db = null) |
| 47 | 47 | { |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | * |
| 54 | 54 | * @param \CriteriaElement|string sort order ('id', 'cid', 'title', 'publish', or 'weight') default: 'id' |
| 55 | 55 | * |
| 56 | - * @return mixed Contents object | false on failure |
|
| 56 | + * @return boolean Contents object | false on failure |
|
| 57 | 57 | */ |
| 58 | 58 | public function getObj($sort = 'id') |
| 59 | 59 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | * ContentsHandler::getPublished() |
| 78 | 78 | * |
| 79 | 79 | * @param string $id |
| 80 | - * @return mixed array of XoopsfaqContent objects | false on failure |
|
| 80 | + * @return boolean array of XoopsfaqContent objects | false on failure |
|
| 81 | 81 | */ |
| 82 | 82 | public function getPublished($id = '') |
| 83 | 83 | { |
@@ -268,8 +268,8 @@ |
||
| 268 | 268 | /** |
| 269 | 269 | * Render the icon links |
| 270 | 270 | * |
| 271 | - * @param array $icon_array contains operation=>icon_name as key=>value |
|
| 272 | - * @param mixed $param HTML parameter |
|
| 271 | + * @param string[] $icon_array contains operation=>icon_name as key=>value |
|
| 272 | + * @param string $param HTML parameter |
|
| 273 | 273 | * @param mixed $value HTML parameter value to set |
| 274 | 274 | * @param mixed $extra are any additional HTML attributes desired for the <a> tag |
| 275 | 275 | * @return string |