@@ -29,7 +29,7 @@ |
||
29 | 29 | $startfaq = isset($_GET['startfaq']) ? (int)$_GET['startfaq'] : 0; |
30 | 30 | |
31 | 31 | /** |
32 | - * @param bool $showmenu |
|
32 | + * @param string $showmenu |
|
33 | 33 | * @param int $faqid |
34 | 34 | * @param int $answerid |
35 | 35 | * @param bool $merge |
@@ -120,9 +120,9 @@ discard block |
||
120 | 120 | * Add appendix |
121 | 121 | * |
122 | 122 | * @access public |
123 | - * @param $permName |
|
123 | + * @param string $permName |
|
124 | 124 | * @param $itemId |
125 | - * @param $itemName |
|
125 | + * @param string $itemName |
|
126 | 126 | */ |
127 | 127 | public function addAppendix($permName, $itemId, $itemName) |
128 | 128 | { |
@@ -256,7 +256,7 @@ discard block |
||
256 | 256 | /** |
257 | 257 | * Constructor |
258 | 258 | * @param $caption |
259 | - * @param $name |
|
259 | + * @param string $name |
|
260 | 260 | * @param $groupId |
261 | 261 | * @param null $values |
262 | 262 | */ |
@@ -26,7 +26,7 @@ |
||
26 | 26 | $startfaq = isset($_GET['startfaq']) ? (int)$_GET['startfaq'] : 0; |
27 | 27 | |
28 | 28 | /** |
29 | - * @param bool $showmenu |
|
29 | + * @param string $showmenu |
|
30 | 30 | * @param int $faqid |
31 | 31 | */ |
32 | 32 | function editfaq($showmenu = false, $faqid = -1) |
@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | /** |
23 | 23 | * constructor |
24 | - * @param null $id |
|
24 | + * @param integer $id |
|
25 | 25 | */ |
26 | 26 | public function __construct($id = null) |
27 | 27 | { |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * create a new answer |
28 | 28 | * |
29 | 29 | * @param bool $isNew flag the new objects as "new"? |
30 | - * @return object Answer |
|
30 | + * @return Answer Answer |
|
31 | 31 | */ |
32 | 32 | public function create($isNew = true) |
33 | 33 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * insert a new answer in the database |
71 | 71 | * |
72 | - * @param \XoopsObject $answerObj reference to the <a href='psi_element://sfAnswer'>sfAnswer</a> object |
|
72 | + * @param Answer $answerObj reference to the <a href='psi_element://sfAnswer'>sfAnswer</a> object |
|
73 | 73 | * @param bool $force |
74 | 74 | * @return bool FALSE if failed, TRUE if already present and unchanged or successful |
75 | 75 | */ |
@@ -115,7 +115,7 @@ |
||
115 | 115 | } |
116 | 116 | |
117 | 117 | /** |
118 | - * @return mixed |
|
118 | + * @return integer |
|
119 | 119 | */ |
120 | 120 | public function parentid() |
121 | 121 | { |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * create a new category |
26 | 26 | * |
27 | 27 | * @param bool $isNew flag the new objects as "new"? |
28 | - * @return object Smartfaq\Category |
|
28 | + * @return Category Smartfaq\Category |
|
29 | 29 | */ |
30 | 30 | public function create($isNew = true) |
31 | 31 | { |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * insert a new category in the database |
69 | 69 | * |
70 | - * @param \XoopsObject $category reference to the {@link Smartfaq\Category} |
|
70 | + * @param Category $category reference to the {@link Smartfaq\Category} |
|
71 | 71 | * object |
72 | 72 | * @param bool $force |
73 | 73 | * @return bool FALSE if failed, TRUE if already present and unchanged or successful |
@@ -226,7 +226,7 @@ |
||
226 | 226 | } |
227 | 227 | |
228 | 228 | /** |
229 | - * @return mixed |
|
229 | + * @return integer |
|
230 | 230 | */ |
231 | 231 | public function uid() |
232 | 232 | { |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | /** |
69 | 69 | * insert a new faq in the database |
70 | 70 | * |
71 | - * @param \XoopsObject $faq reference to the {@link Smartfaq\Faq} |
|
71 | + * @param Faq $faq reference to the {@link Smartfaq\Faq} |
|
72 | 72 | * object |
73 | 73 | * @param bool $force |
74 | 74 | * @return bool FALSE if failed, TRUE if already present and unchanged or successful |
@@ -518,7 +518,7 @@ discard block |
||
518 | 518 | * @param string $order |
519 | 519 | * @param string $notNullFields |
520 | 520 | * @param bool $asobject |
521 | - * @param null $otherCriteria |
|
521 | + * @param null|\CriteriaCompo $otherCriteria |
|
522 | 522 | * @return array |
523 | 523 | */ |
524 | 524 | public function getFaqs( |
@@ -1035,7 +1035,7 @@ discard block |
||
1035 | 1035 | |
1036 | 1036 | /** |
1037 | 1037 | * @param int $cat_id |
1038 | - * @param $status |
|
1038 | + * @param string $status |
|
1039 | 1039 | * @return array |
1040 | 1040 | */ |
1041 | 1041 | public function getCountsByCat($cat_id = 0, $status) |