Completed
Push — master ( 8776c1...f76cd1 )
by Guillaume
02:25
created
src/Starkerxp/StructureBundle/Controller/StructureController.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * Retourne l'entity manager de la connexion defaut.
17 17
      *
18
-     * @return \Doctrine\Common\Persistence\ObjectManager|object
18
+     * @return \Doctrine\Common\Persistence\ObjectManager
19 19
      */
20 20
     protected function getEntityManager()
21 21
     {
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * Retourne les messages d'erreur issu d'un formulaire.
27 27
      *
28
-     * @param $form
28
+     * @param \Symfony\Component\Form\Form $form
29 29
      *
30 30
      * @return array
31 31
      */
@@ -49,8 +49,8 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Permet de traduire un message.
51 51
      *
52
-     * @param $id
53
-     * @param null $domain
52
+     * @param string $id
53
+     * @param string $domain
54 54
      * @param array $parameters
55 55
      *
56 56
      * @return string
@@ -144,6 +144,9 @@  discard block
 block discarded – undo
144 144
         return explode(",", $fields);
145 145
     }
146 146
 
147
+    /**
148
+     * @param \Symfony\Component\EventDispatcher\GenericEvent $entite
149
+     */
147 150
     protected function dispatch($libelle, $entite)
148 151
     {
149 152
         $event = new Event();
Please login to merge, or discard this patch.