Completed
Branch master (5fd068)
by Laurent
16:18
created
src/Glsr/GestockBundle/Controller/SupplierController.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
      * @param type $page numéro de page
33 33
      *
34
-     * @return Symfony\Component\HttpFoundation\Response
34
+     * @return \Symfony\Component\HttpFoundation\Response
35 35
      */
36 36
     public function indexAction($page)
37 37
     {
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     /**
59 59
      * Ajouter un fournisseur.
60 60
      *
61
-     * @return Symfony\Component\HttpFoundation\Response
61
+     * @return \Symfony\Component\HttpFoundation\Response
62 62
      */
63 63
     public function addAction()
64 64
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      *
128 128
      * @param Supplier $supplier Objet fournisseur à modifier
129 129
      *
130
-     * @return Symfony\Component\HttpFoundation\Response
130
+     * @return \Symfony\Component\HttpFoundation\Response
131 131
      */
132 132
     public function editAction(Supplier $supplier)
133 133
     {
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      *
195 195
      * @param Supplier $supplier Objet fournisseur à supprimer
196 196
      *
197
-     * @return Symfony\Component\HttpFoundation\Response
197
+     * @return \Symfony\Component\HttpFoundation\Response
198 198
      */
199 199
     public function deleteAction(Supplier $supplier)
200 200
     {
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
      *
288 288
      * @param Supplier $supplier Objet fournisseur à afficher
289 289
      *
290
-     * @return Symfony\Component\HttpFoundation\Response
290
+     * @return \Symfony\Component\HttpFoundation\Response
291 291
      */
292 292
     public function showAction(Supplier $supplier)
293 293
     {
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/Inventory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
     /**
235 235
      * Get articles
236 236
      *
237
-     * @return \Doctrine\Common\Collections\Collection
237
+     * @return string
238 238
      */
239 239
     public function getArticles()
240 240
     {
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/Listener/GlsrRequestListener.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
      * Constructor.
55 55
      *
56 56
      * @param \Doctrine\ORM\EntityManager     $etm       Entity Manager
57
-     * @param \ContainerInterface             $container Container of Request
58
-     * @param \FrameworkBundle\Routing\Router $router    Routes of Request
57
+     * @param ContainerInterface             $container Container of Request
58
+     * @param Router $router    Routes of Request
59 59
      * @param array                           $routes    Routes to listen
60 60
      */
61 61
     public function __construct(
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * onKernel Request listener.
88 88
      *
89
-     * @param \HttpKernel\Event\GetResponseEvent $event Response event
89
+     * @param GetResponseEvent $event Response event
90 90
      *
91 91
      * @return \Symfony\Component\HttpFoundation\RedirectResponse|
92 92
      *   null Redirige ou continue
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/Form/ArticleReassignType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,14 +41,14 @@
 block discarded – undo
41 41
     {
42 42
         $builder->addEventListener(
43 43
             FormEvents::PRE_SET_DATA,
44
-            function (FormEvent $event) {
44
+            function(FormEvent $event) {
45 45
                 $form = $event->getForm();
46 46
                 $articles = $event->getData();
47 47
 
48 48
                 $formOptions = array(
49 49
                     'class' => 'GlsrGestockBundle:Supplier',
50 50
                     'query_builder' =>
51
-                    function (EntityRepository $er) use ($articles) {
51
+                    function(EntityRepository $er) use ($articles) {
52 52
                         return $er->getSupplierForReassign($articles[0]);
53 53
                     },
54 54
                     'multiple' => false,
Please login to merge, or discard this patch.