Completed
Push — sf2.7 ( fc109a...984f44 )
by Laurent
16:36
created
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/Entity/Article.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
     /**
333 333
      * Get supplier.
334 334
      *
335
-     * @return Supplier
335
+     * @return string
336 336
      */
337 337
     public function getSupplier()
338 338
     {
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
     /**
357 357
      * Get unit_storage.
358 358
      *
359
-     * @return UnitStorage
359
+     * @return string
360 360
      */
361 361
     public function getUnitStorage()
362 362
     {
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
     /**
394 394
      * Get zone_storages.
395 395
      *
396
-     * @return \Doctrine\Common\Collections\Collection
396
+     * @return string
397 397
      */
398 398
     public function getZoneStorages()
399 399
     {
@@ -417,7 +417,7 @@  discard block
 block discarded – undo
417 417
     /**
418 418
      * Get family_log.
419 419
      *
420
-     * @return FamilyLog
420
+     * @return string
421 421
      */
422 422
     public function getFamilyLog()
423 423
     {
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
     /**
442 442
      * Get sub_family_log.
443 443
      *
444
-     * @return SubFamilyLog
444
+     * @return string
445 445
      */
446 446
     public function getSubFamilyLog()
447 447
     {
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Entity/Settings.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
     /**
130 130
      * Set first_inventory.
131 131
      *
132
-     * @param datetime $firstInventory Date du premier inventaire
132
+     * @param \DateTime $firstInventory Date du premier inventaire
133 133
      *
134 134
      * @return Settings
135 135
      */
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Entity/SubFamilyLog.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
     /**
148 148
      * Get familylog.
149 149
      *
150
-     * @return FamilyLog
150
+     * @return string
151 151
      */
152 152
     public function getFamilylog()
153 153
     {
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Entity/Supplier.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
     /**
151 151
      * Get family_log.
152 152
      *
153
-     * @return FamilyLog
153
+     * @return string
154 154
      */
155 155
     public function getFamilyLog()
156 156
     {
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
     /**
175 175
      * Get sub_family_log.
176 176
      *
177
-     * @return SubFamilyLog
177
+     * @return string
178 178
      */
179 179
     public function getSubFamilyLog()
180 180
     {
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/DependencyInjection/Configuration.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
  * and merges configuration from your app/config files.
22 22
  *
23 23
  * @category   DependencyInjection
24
-
25 24
  * @link http://symfony.com/doc/current/cookbook/bundles/extension.html
26 25
  * #cookbook-bundles-extension-config-class
27 26
  */
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Controller/ArticleController.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      *
36 36
      * @param int $page numéro de page
37 37
      *
38
-     * @return Symfony\Component\HttpFoundation\Response
38
+     * @return \Symfony\Component\HttpFoundation\Response
39 39
      */
40 40
     public function indexAction($page)
41 41
     {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * Ajoute un article.
64 64
      *
65
-     * @return Symfony\Component\HttpFoundation\Response
65
+     * @return \Symfony\Component\HttpFoundation\Response
66 66
      *
67 67
      * @throws AccessDeniedException
68 68
      */
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      *
89 89
      * @param Request $request objet requète
90 90
      *
91
-     * @return Symfony\Component\HttpFoundation\RedirectResponse
91
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
92 92
      * @throws AccessDeniedException
93 93
      */
94 94
     public function addProcessAction(Request $request)
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      *
126 126
      * @param Article $article article à modifier
127 127
      *
128
-     * @return Symfony\Component\HttpFoundation\Response
128
+     * @return \Symfony\Component\HttpFoundation\Response
129 129
      *
130 130
      * @throws AccessDeniedException
131 131
      */
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      * @param Article $article article à modifier.
151 151
      * @param Request $request objet requète.
152 152
      *
153
-     * @return Symfony\Component\HttpFoundation\Response|
153
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
154 154
      *   Symfony\Component\HttpFoundation\RedirectResponse
155 155
      */
156 156
     public function editProcessAction(Article $article, Request $request)
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
      *
188 188
      * @param Article $article article à désactiver.
189 189
      *
190
-     * @return Symfony\Component\HttpFoundation\Response
190
+     * @return \Symfony\Component\HttpFoundation\Response
191 191
      */
192 192
     public function deleteShowAction(Article $article)
193 193
     {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
      * @param Article $article Article à supprimer.
212 212
      * @param Request $request Requète.
213 213
      *
214
-     * @return Symfony\Component\HttpFoundation\RedirectResponse
214
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
215 215
      *
216 216
      * @throws AccessDeniedException
217 217
      */
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
      *
246 246
      * @param Article $article article à afficher.
247 247
      *
248
-     * @return Symfony\Component\HttpFoundation\Response
248
+     * @return \Symfony\Component\HttpFoundation\Response
249 249
      */
250 250
     public function showAction(Article $article)
251 251
     {
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
      * @param Supplier $supplier Fournisseur
265 265
      *   dont les articles doivent être réaffectés.
266 266
      *
267
-     * @return Symfony\Component\HttpFoundation\Response
267
+     * @return \Symfony\Component\HttpFoundation\Response
268 268
      *
269 269
      * @throws AccessDeniedException
270 270
      */
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
      *   dont les articles doivent être réaffectés.
301 301
      * @param Request $request Requète.
302 302
      *
303
-     * @return Symfony\Component\HttpFoundation\RedirectResponse
303
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
304 304
      *
305 305
      * @throws AccessDeniedException
306 306
      */
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Controller/GestockController.php 2 patches
Doc Comments   +5 added lines, -5 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 Symfony\Component\HttpFoundation\Response
32
+     * @return Response
33 33
      */
34 34
     public function indexAction()
35 35
     {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      *
52 52
      * @param Request $request objet requète
53 53
      *
54
-     * @return Symfony\Component\HttpFoundation\Response
54
+     * @return Response
55 55
      */
56 56
     public function fillSubFamilyLogAction(Request $request)
57 57
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      *
103 103
      * @param Request $request objet requète
104 104
      *
105
-     * @return Symfony\Component\HttpFoundation\Response
105
+     * @return Response
106 106
      */
107 107
     public function getFamilyLogAction(Request $request)
108 108
     {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      *
139 139
      * @param int $nombre nombres d'alertes à afficher
140 140
      *
141
-     * @return type
141
+     * @return Response
142 142
      */
143 143
     public function alertsAction($nombre)
144 144
     {
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     /**
167 167
      * Test des entités
168 168
      *
169
-     * @return array
169
+     * @return string|null
170 170
      */
171 171
     private function testEntities()
172 172
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
         if ($request->isXmlHttpRequest()) {
60 60
             $famLogId = $request->get('id');
61 61
             $subFamId = $request->get('id2');
62
-            if ($famLogId  !== '') {
62
+            if ($famLogId !== '') {
63 63
                 $subFamilyLogs = $etm
64 64
                     ->getRepository('GlsrGestockBundle:SubFamilyLog')
65 65
                     ->getFromFamilyLog($famLogId);
Please login to merge, or discard this patch.
src/Glsr/GestockBundle/Controller/Settings/ApplicationController.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Affiche les paramètres de base de l'application.
33 33
      *
34
-     * @return Symfony\Component\HttpFoundation\Response
34
+     * @return \Symfony\Component\HttpFoundation\Response
35 35
      */
36 36
     public function showAction()
37 37
     {
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Ajouter un paramètre à l'application.
51 51
      *
52
-     * @return Symfony\Component\HttpFoundation\Response
52
+     * @return \Symfony\Component\HttpFoundation\Response
53 53
      */
54 54
     public function addShowAction()
55 55
     {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     /**
84 84
      * Ajouter un paramètre à l'application.
85 85
      *
86
-     * @return Symfony\Component\HttpFoundation\Response
86
+     * @return \Symfony\Component\HttpFoundation\RedirectResponse
87 87
      */
88 88
     public function addProcessAction(Request $request)
89 89
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
      * @param Settings $settings
125 125
      * Objet de l'entité Settings à modifier
126 126
      *
127
-     * @return Symfony\Component\HttpFoundation\Response
127
+     * @return \Symfony\Component\HttpFoundation\Response
128 128
      */
129 129
     public function editShowAction(Settings $settings)
130 130
     {
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      * Objet de l'entité Settings à modifier.
151 151
      * @param Request $request Requète de l'édition.
152 152
      *
153
-     * @return Symfony\Component\HttpFoundation\Response
153
+     * @return \Symfony\Component\HttpFoundation\Response
154 154
      */
155 155
     public function editProcessAction(Settings $settings, Request $request)
156 156
     {
Please login to merge, or discard this patch.