@@ -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 | { |