Completed
Push — master ( c9b91a...2387f6 )
by Rasmus
01:53
created
src/TextContent/ContentController.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -301,6 +301,7 @@  discard block
 block discarded – undo
301 301
    * @Param   String    $type       Selected content-type
302 302
    * @Param   Boolean   $published  If content should be published already
303 303
    * @Return  Object    $form       CForm object
304
+   * @return \Mos\HTMLForm\CForm
304 305
    */
305 306
   private function listForm($type = null, $published = false){
306 307
     
@@ -339,6 +340,7 @@  discard block
 block discarded – undo
339 340
    *
340 341
    * @Param   Object    $values     Content values to add form elements
341 342
    * @Return  Object    $form       CForm object
343
+   * @return \Mos\HTMLForm\CForm
342 344
    */
343 345
   private function contentForm($values = null){
344 346
     if(isset($values) && is_object($values)){
@@ -471,6 +473,7 @@  discard block
 block discarded – undo
471 473
    *
472 474
    * @Param   String   $returnUrl       Return url
473 475
    * @Return  Object   $form            Form-object
476
+   * @return \Mos\HTMLForm\CForm
474 477
    */
475 478
   public function confirmForm($returnUrl = null){
476 479
     $returnUrl = (isset($returnUrl)) ? $returnUrl : $this->request->getBaseUrl();
@@ -503,6 +506,7 @@  discard block
 block discarded – undo
503 506
    * @Param   Object    $form     Form object
504 507
    * @Param   String    $oldSlug  Old slug for content to compare
505 508
    * @Return  Boolean   false     If saving fail, return false
509
+   * @return false|null
506 510
    */
507 511
   private function saveContent($form, $oldSlug = null){
508 512
     // Prepare content for saving
Please login to merge, or discard this patch.