@@ -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) |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * constructor |
| 30 | - * @param null $id |
|
| 30 | + * @param integer $id |
|
| 31 | 31 | */ |
| 32 | 32 | public function __construct($id = null) |
| 33 | 33 | { |
@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | * create a new answer |
| 369 | 369 | * |
| 370 | 370 | * @param bool $isNew flag the new objects as "new"? |
| 371 | - * @return object sfAnswer |
|
| 371 | + * @return sfAnswer sfAnswer |
|
| 372 | 372 | */ |
| 373 | 373 | public function create($isNew = true) |
| 374 | 374 | { |
@@ -410,7 +410,7 @@ discard block |
||
| 410 | 410 | /** |
| 411 | 411 | * insert a new answer in the database |
| 412 | 412 | * |
| 413 | - * @param XoopsObject $answerObj reference to the <a href='psi_element://sfAnswer'>sfAnswer</a> object |
|
| 413 | + * @param sfAnswer $answerObj reference to the <a href='psi_element://sfAnswer'>sfAnswer</a> object |
|
| 414 | 414 | * @param bool $force |
| 415 | 415 | * @return bool FALSE if failed, TRUE if already present and unchanged or successful |
| 416 | 416 | */ |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | * create a new category |
| 270 | 270 | * |
| 271 | 271 | * @param bool $isNew flag the new objects as "new"? |
| 272 | - * @return object sfCategory |
|
| 272 | + * @return sfCategory sfCategory |
|
| 273 | 273 | */ |
| 274 | 274 | public function &create($isNew = true) |
| 275 | 275 | { |
@@ -311,7 +311,7 @@ discard block |
||
| 311 | 311 | /** |
| 312 | 312 | * insert a new category in the database |
| 313 | 313 | * |
| 314 | - * @param XoopsObject $category reference to the {@link sfCategory} object |
|
| 314 | + * @param sfCategory $category reference to the {@link sfCategory} object |
|
| 315 | 315 | * @param bool $force |
| 316 | 316 | * @return bool FALSE if failed, TRUE if already present and unchanged or successful |
| 317 | 317 | */ |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | } |
| 244 | 244 | |
| 245 | 245 | /** |
| 246 | - * @return mixed |
|
| 246 | + * @return integer |
|
| 247 | 247 | */ |
| 248 | 248 | public function uid() |
| 249 | 249 | { |
@@ -744,7 +744,7 @@ discard block |
||
| 744 | 744 | /** |
| 745 | 745 | * insert a new faq in the database |
| 746 | 746 | * |
| 747 | - * @param XoopsObject $faq reference to the {@link sfFaq} object |
|
| 747 | + * @param sfFaq $faq reference to the {@link sfFaq} object |
|
| 748 | 748 | * @param bool $force |
| 749 | 749 | * @return bool FALSE if failed, TRUE if already present and unchanged or successful |
| 750 | 750 | */ |
@@ -1121,7 +1121,7 @@ discard block |
||
| 1121 | 1121 | * @param string $order |
| 1122 | 1122 | * @param string $notNullFields |
| 1123 | 1123 | * @param bool $asobject |
| 1124 | - * @param null $otherCriteria |
|
| 1124 | + * @param null|CriteriaCompo $otherCriteria |
|
| 1125 | 1125 | * @return array |
| 1126 | 1126 | */ |
| 1127 | 1127 | public function getFaqs($limit = 0, $start = 0, $status = '', $categoryid = -1, $sort = 'datesub', $order = 'DESC', $notNullFields = '', $asobject = true, $otherCriteria = null) |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | /** |
| 170 | - * @param $field |
|
| 170 | + * @param string $field |
|
| 171 | 171 | * @return bool |
| 172 | 172 | */ |
| 173 | 173 | public function fieldExists($field) |
@@ -628,7 +628,7 @@ discard block |
||
| 628 | 628 | /** |
| 629 | 629 | * Use to update a table |
| 630 | 630 | * |
| 631 | - * @param object $table {@link SmartDbTable} that will be updated |
|
| 631 | + * @param SmartDbTable $table {@link SmartDbTable} that will be updated |
|
| 632 | 632 | * |
| 633 | 633 | * @see SmartDbTable |
| 634 | 634 | * |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * Constructor |
| 26 | 26 | * |
| 27 | 27 | * @param string $uploadDir |
| 28 | - * @param array|int $allowedMimeTypes |
|
| 28 | + * @param integer $allowedMimeTypes |
|
| 29 | 29 | * @param int $maxFileSize |
| 30 | 30 | * @param int $maxWidth |
| 31 | 31 | * @param int $maxHeight |
@@ -509,7 +509,7 @@ discard block |
||
| 509 | 509 | |
| 510 | 510 | /** |
| 511 | 511 | * @param string $url |
| 512 | - * @return mixed|string |
|
| 512 | + * @return string |
|
| 513 | 513 | */ |
| 514 | 514 | function sf_getxoopslink($url = '') |
| 515 | 515 | { |
@@ -582,7 +582,7 @@ discard block |
||
| 582 | 582 | } |
| 583 | 583 | |
| 584 | 584 | /** |
| 585 | - * @param $name |
|
| 585 | + * @param string $name |
|
| 586 | 586 | * @param bool $optional |
| 587 | 587 | * @return bool |
| 588 | 588 | */ |
@@ -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) |