@@ -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) |
@@ -70,7 +70,7 @@ |
||
70 | 70 | /** |
71 | 71 | * Constructor |
72 | 72 | * @param $caption |
73 | - * @param $name |
|
73 | + * @param string $name |
|
74 | 74 | * @param $groupId |
75 | 75 | * @param null $values |
76 | 76 | */ |
@@ -178,7 +178,7 @@ |
||
178 | 178 | } |
179 | 179 | |
180 | 180 | /** |
181 | - * @param $field |
|
181 | + * @param string $field |
|
182 | 182 | * @return bool |
183 | 183 | */ |
184 | 184 | public function fieldExists($field) |
@@ -519,7 +519,7 @@ |
||
519 | 519 | |
520 | 520 | /** |
521 | 521 | * @param string $url |
522 | - * @return mixed|string |
|
522 | + * @return string |
|
523 | 523 | */ |
524 | 524 | public static function getXoopslink($url = '') |
525 | 525 | { |