@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | * |
| 309 | 309 | * @param string $type Selected content-type |
| 310 | 310 | * @param boolean $published If content should be published already |
| 311 | - * @return object $form CForm object |
|
| 311 | + * @return \Mos\HTMLForm\CForm $form CForm object |
|
| 312 | 312 | */ |
| 313 | 313 | private function listForm($type = null, $published = false){ |
| 314 | 314 | |
@@ -346,7 +346,7 @@ discard block |
||
| 346 | 346 | * Prepare form to add or edit content |
| 347 | 347 | * |
| 348 | 348 | * @param object $values Content values to add form elements |
| 349 | - * @return object $form CForm object |
|
| 349 | + * @return \Mos\HTMLForm\CForm $form CForm object |
|
| 350 | 350 | */ |
| 351 | 351 | private function contentForm($values = null){ |
| 352 | 352 | if(isset($values) && is_object($values)){ |
@@ -478,7 +478,7 @@ discard block |
||
| 478 | 478 | * Prepare confirmation form |
| 479 | 479 | * |
| 480 | 480 | * @param string $returnUrl Return url |
| 481 | - * @return object $form Form-object |
|
| 481 | + * @return \Mos\HTMLForm\CForm $form Form-object |
|
| 482 | 482 | */ |
| 483 | 483 | public function confirmForm($returnUrl = null){ |
| 484 | 484 | $returnUrl = (isset($returnUrl)) ? $returnUrl : $this->request->getBaseUrl(); |
@@ -511,6 +511,7 @@ discard block |
||
| 511 | 511 | * @Param Object $form Form object |
| 512 | 512 | * @Param String $oldSlug Old slug for content to compare |
| 513 | 513 | * @Return Boolean false If saving fail, return false |
| 514 | + * @return false|null |
|
| 514 | 515 | */ |
| 515 | 516 | private function saveContent($form, $oldSlug = null){ |
| 516 | 517 | // Prepare content for saving |