Completed
Branch master (5fd068)
by Laurent
16:18
created
src/Glsr/GestockBundle/Controller/ArticleController.php 2 patches
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @param int $page numéro de page
36 36
      *
37
-     * @return Symfony\Component\HttpFoundation\Response
37
+     * @return \Symfony\Component\HttpFoundation\Response
38 38
      */
39 39
     public function indexAction($page)
40 40
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Ajoute un article.
63 63
      *
64
-     * @return Symfony\Component\HttpFoundation\Response
64
+     * @return \Symfony\Component\HttpFoundation\Response
65 65
      *
66 66
      * @throws AccessDeniedException
67 67
      */
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Ajoute un article.
88 88
      *
89
-     * @return Symfony\Component\HttpFoundation\RedirectResponse
89
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
90 90
      *
91 91
      * @throws AccessDeniedException
92 92
      */
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      *
132 132
      * @param Article $article article à modifier
133 133
      *
134
-     * @return Symfony\Component\HttpFoundation\Response|
134
+     * @return \Symfony\Component\HttpFoundation\Response
135 135
      *   Symfony\Component\HttpFoundation\RedirectResponse
136 136
      */
137 137
     public function editAction(Article $article)
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      *
186 186
      * @param Article $article article à désactiver
187 187
      *
188
-     * @return Symfony\Component\HttpFoundation\Response
188
+     * @return \Symfony\Component\HttpFoundation\Response
189 189
      */
190 190
     public function deleteShowAction(Article $article)
191 191
     {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
      *
212 212
      * @param Article $article
213 213
      *
214
-     * @return Symfony\Component\HttpFoundation\RedirectResponse
214
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse|null
215 215
      *
216 216
      * @throws AccessDeniedException
217 217
      */
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
      *
250 250
      * @param \Glsr\GestockBundle\Entity\Article $article article à afficher
251 251
      *
252
-     * @return Symfony\Component\HttpFoundation\Response
252
+     * @return \Symfony\Component\HttpFoundation\Response
253 253
      */
254 254
     public function showAction(Article $article)
255 255
     {
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
      * @param Supplier $supplier Fournisseur
269 269
      *   dont les articles doivent être réaffectés
270 270
      *
271
-     * @return Symfony\Component\HttpFoundation\Response
271
+     * @return \Symfony\Component\HttpFoundation\Response
272 272
      *
273 273
      * @throws AccessDeniedException
274 274
      */
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
      * @param Supplier $supplier Fournisseur
304 304
      *   dont les articles doivent être réaffectés
305 305
      *
306
-     * @return Symfony\Component\HttpFoundation\RedirectResponse
306
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
307 307
      *
308 308
      * @throws AccessDeniedException
309 309
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
                 'glstock_art_show',
115 115
                 array('name' => $article->getName())
116 116
             );
117
-            $message = "L'article " . $article->getName() ." est bien ajouté";
117
+            $message = "L'article ".$article->getName()." est bien ajouté";
118 118
         } else {
119 119
             $url = $this->generateUrl('glstock_art_add');
120 120
             $message = "L'article ".$article->getName()." n'est pas ajouté !";
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Controller/GestockController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * indexAction affiche la page d'accueil du Bundle.
30 30
      *
31
-     * @return type
31
+     * @return Response
32 32
      */
33 33
     public function indexAction()
34 34
     {
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * Récupère les subFamilyLog de la FamilyLog sélectionnée.
40 40
      *
41
-     * @return \Glsr\GestockBundle\Controller\Response
41
+     * @return Response
42 42
      */
43 43
     public function fillSubFamilyLogAction()
44 44
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      *
127 127
      * @param int $nombre nombres d'alertes à afficher
128 128
      *
129
-     * @return type
129
+     * @return Response
130 130
      */
131 131
     public function alertsAction($nombre)
132 132
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             $subFamId = '';
50 50
             $famLogId = $request->get('id');
51 51
             $subFamId = $request->get('id2');
52
-            if ($famLogId  != '') {
52
+            if ($famLogId != '') {
53 53
                 $subFamilyLogs = $etm
54 54
                     ->getRepository('GlsrGestockBundle:subFamilyLog')
55 55
                     ->getFromFamilyLog($famLogId);
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Controller/InventoryController.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * indexAction affiche la page d'accueil du Bundle.
31 31
      *
32
-     * @return Render
32
+     * @return \Symfony\Component\HttpFoundation\Response
33 33
      */
34 34
     public function indexAction()
35 35
     {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      *
49 49
      * @param Inventory $inventory L'inventaire à afficher
50 50
      *
51
-     * @return Render
51
+     * @return \Symfony\Component\HttpFoundation\Response
52 52
      */
53 53
     public function showAction(Inventory $inventory)
54 54
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * Enregistrement de l'inventaire et création du fichier pdf
65 65
      *
66
-     * @return Symfony\Component\HttpFoundation\RedirectResponse
66
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
67 67
      */
68 68
     public function prepareAction()
69 69
     {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
      *
163 163
      * @param Inventory $inventory
164 164
      *
165
-     * @return Symfony\Component\HttpFoundation\RedirectResponse
165
+     * @return \Symfony\Component\HttpFoundation\Response
166 166
      *     Retour à index Inventory
167 167
      */
168 168
     public function cancelAction(Inventory $inventory)
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
      *
208 208
      * @param Inventory $inventory Inventaire sélectionné
209 209
      *
210
-     * @return Symfony\Component\HttpFoundation\Response
210
+     * @return \Symfony\Component\HttpFoundation\Response
211 211
      */
212 212
     public function entryAction(Inventory $inventory, $page)
213 213
     {
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
      *
274 274
      * @param Inventory $inventory
275 275
      *
276
-     * @return Symfony\Component\HttpFoundation\RedirectResponse
276
+     * @return \Symfony\Component\HttpFoundation\Response
277 277
      *     Retour à index Inventory
278 278
      */
279 279
     public function validAction(Inventory $inventory)
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Controller/Settings/ApplicationController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * Affiche les paramètres de base de l'application.
31 31
      *
32
-     * @return Symfony\Component\HttpFoundation\Response
32
+     * @return \Symfony\Component\HttpFoundation\Response
33 33
      */
34 34
     public function showAction()
35 35
     {
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * Ajouter un paramètre à l'application.
48 48
      *
49
-     * @return Symfony\Component\HttpFoundation\Response
49
+     * @return \Symfony\Component\HttpFoundation\Response
50 50
      */
51 51
     public function addAction()
52 52
     {
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * @param Settings $settings
115 115
      * Objet de l'entité Settings à modifier
116 116
      *
117
-     * @return Symfony\Component\HttpFoundation\Response
117
+     * @return \Symfony\Component\HttpFoundation\Response
118 118
      */
119 119
     public function editAction(Settings $settings)
120 120
     {
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Controller/Settings/CompanyController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * Affiche les données de l'entreprise.
31 31
      *
32
-     * @return Symfony\Component\HttpFoundation\Response
32
+     * @return \Symfony\Component\HttpFoundation\Response
33 33
      */
34 34
     public function showAction()
35 35
     {
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     /**
47 47
      * Crée les données de l'entreprise.
48 48
      *
49
-     * @return Symfony\Component\HttpFoundation\Response
49
+     * @return \Symfony\Component\HttpFoundation\Response
50 50
      */
51 51
     public function addAction()
52 52
     {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      *
110 110
      * @param Company $company Entreprise à modifier
111 111
      *
112
-     * @return type
112
+     * @return \Symfony\Component\HttpFoundation\Response
113 113
      */
114 114
     public function editAction(Company $company)
115 115
     {
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Controller/Settings/Divers/FamilyLogController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * Ajouter une Familles logistiques.
31 31
      *
32
-     * @return Symfony\Component\HttpFoundation\Response
32
+     * @return \Symfony\Component\HttpFoundation\Response
33 33
      */
34 34
     public function addAction()
35 35
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      *
93 93
      * @param FamilyLog $famLog objet Familles logistiques à modifier
94 94
      *
95
-     * @return Symfony\Component\HttpFoundation\Response
95
+     * @return \Symfony\Component\HttpFoundation\Response
96 96
      */
97 97
     public function editAction(FamilyLog $famLog)
98 98
     {
Please login to merge, or discard this patch.
Glsr/GestockBundle/Controller/Settings/Divers/SubFamilyLogController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Ajouter une Sous-familles logistiques.
32 32
      *
33
-     * @return Symfony\Component\HttpFoundation\Response
33
+     * @return \Symfony\Component\HttpFoundation\Response
34 34
      */
35 35
     public function addAction()
36 36
     {
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      *
94 94
      * @param SubFamilyLog $famLog objet Familles logistiques à modifier
95 95
      *
96
-     * @return Symfony\Component\HttpFoundation\Response
96
+     * @return \Symfony\Component\HttpFoundation\Response
97 97
      */
98 98
     public function editAction(SubFamilyLog $famLog)
99 99
     {
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Controller/Settings/Divers/TvaController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * Ajouter une TVA.
31 31
      *
32
-     * @return Symfony\Component\HttpFoundation\Response
32
+     * @return \Symfony\Component\HttpFoundation\Response
33 33
      */
34 34
     public function addAction()
35 35
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      *
93 93
      * @param Tva $tva objet TVA à modifier
94 94
      *
95
-     * @return Symfony\Component\HttpFoundation\Response
95
+     * @return \Symfony\Component\HttpFoundation\Response
96 96
      */
97 97
     public function editAction(Tva $tva)
98 98
     {
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Controller/Settings/Divers/UnitStorageController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * Ajouter une Unités de stockage.
31 31
      *
32
-     * @return Symfony\Component\HttpFoundation\Response
32
+     * @return \Symfony\Component\HttpFoundation\Response
33 33
      */
34 34
     public function addAction()
35 35
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      *
93 93
      * @param UnitStorage $unitStore objet Familles logistiques à modifier
94 94
      *
95
-     * @return Symfony\Component\HttpFoundation\Response
95
+     * @return \Symfony\Component\HttpFoundation\Response
96 96
      */
97 97
     public function editAction(UnitStorage $unitStore)
98 98
     {
Please login to merge, or discard this patch.