Ver código fonte

Fix some phpdoc

Thomas Rabaix 13 anos atrás
pai
commit
a5ca352a55
1 arquivos alterados com 5 adições e 3 exclusões
  1. 5 3
      Controller/CRUDController.php

+ 5 - 3
Controller/CRUDController.php

@@ -224,7 +224,7 @@ class CRUDController extends Controller
      * return the Response object associated to the edit action
      * return the Response object associated to the edit action
      *
      *
      * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
      * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
-     * @param  $id
+     * @param mixed $id
      * @return \Symfony\Component\HttpFoundation\Response
      * @return \Symfony\Component\HttpFoundation\Response
      */
      */
     public function editAction($id = null)
     public function editAction($id = null)
@@ -282,7 +282,7 @@ class CRUDController extends Controller
     /**
     /**
      * redirect the user depend on this choice
      * redirect the user depend on this choice
      *
      *
-     * @param  $object
+     * @param object $object
      * @return \Symfony\Component\HttpFoundation\Response
      * @return \Symfony\Component\HttpFoundation\Response
      */
      */
     public function redirectTo($object)
     public function redirectTo($object)
@@ -458,8 +458,9 @@ class CRUDController extends Controller
     }
     }
 
 
     /**
     /**
-     * @param null $id
      * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException|\Symfony\Component\Security\Core\Exception\AccessDeniedException
      * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException|\Symfony\Component\Security\Core\Exception\AccessDeniedException
+     * @param mixed $id
+     * @return \Symfony\Bundle\FrameworkBundle\Controller\Response
      */
      */
     public function historyAction($id = null)
     public function historyAction($id = null)
     {
     {
@@ -495,6 +496,7 @@ class CRUDController extends Controller
     /**
     /**
      * @param null $id
      * @param null $id
      * @param $revision
      * @param $revision
+     * @return \Symfony\Bundle\FrameworkBundle\Controller\Response
      */
      */
     public function historyViewRevisionAction($id = null, $revision = null)
     public function historyViewRevisionAction($id = null, $revision = null)
     {
     {