Completed
Push — master ( e79cb7...4be90b )
by Laurent
04:11
created
src/AppBundle/Entity/Orders.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     /**
159 159
      * Get amount
160 160
      *
161
-     * @return string
161
+     * @return double
162 162
      */
163 163
     public function getAmount()
164 164
     {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
     /**
182 182
      * Get tva
183 183
      *
184
-     * @return string
184
+     * @return double
185 185
      */
186 186
     public function getTva()
187 187
     {
Please login to merge, or discard this patch.
src/AppBundle/Controller/AbstractOrdersController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         return $this->createForm(
38 38
             OrdersType::class,
39 39
             $orders,
40
-            ['attr' => ['id' => 'create'], 'action' => $this->generateUrl($route), 'method' => 'POST',]
40
+            ['attr' => ['id' => 'create'], 'action' => $this->generateUrl($route), 'method' => 'POST', ]
41 41
         );
42 42
     }
43 43
 }
Please login to merge, or discard this patch.
src/AppBundle/Form/Type/OrdersArticlesType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
                     'label' => 'gestock.id',
46 46
                     'translation_domain' => 'messages',
47 47
                     'empty_data' => null,
48
-                    'attr'=> ['class' => 'form-control', 'readonly' => true,],
48
+                    'attr'=> ['class' => 'form-control', 'readonly' => true, ],
49 49
                 )
50 50
             )
51 51
             ->add(
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
                     'empty_data' => '0,000',
71 71
                     'label' => 'settings.quantity',
72 72
                     'translation_domain' => 'gs_articles',
73
-                    'attr'=> ['class' => 'form-control text-right',],
73
+                    'attr'=> ['class' => 'form-control text-right', ],
74 74
                 )
75 75
             )
76 76
             ->add(
Please login to merge, or discard this patch.
src/AppBundle/Form/Type/OrdersType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
                 'entity',
47 47
                 array(
48 48
                     'class' => 'AppBundle:FamilyLog',
49
-                    'query_builder' => function (EntityRepository $er) {
49
+                    'query_builder' => function(EntityRepository $er) {
50 50
                         return $er->createQueryBuilder('f')
51 51
                             ->orderBy('f.path', 'ASC');
52 52
                     },
Please login to merge, or discard this patch.
src/AppBundle/Form/Type/TvaType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
             ->add(
38 38
                 'rate',
39 39
                 PercentType::class,
40
-                ['scale' => 2, 'type' => 'fractional', 'label' => 'gestock.settings.diverse.vat',]
40
+                ['scale' => 2, 'type' => 'fractional', 'label' => 'gestock.settings.diverse.vat', ]
41 41
             )
42 42
             ->addEventSubscriber(new AddSaveEditFieldSubscriber());
43 43
     }
Please login to merge, or discard this patch.
src/AppBundle/Form/Type/OrdersEditType.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
                 EntityType::class,
43 43
                 array(
44 44
                     'class' => 'AppBundle:Supplier',
45
-                    'query_builder' => function (EntityRepository $er) {
45
+                    'query_builder' => function(EntityRepository $er) {
46 46
                         return $er->createQueryBuilder('s')
47 47
                             ->where('s.active = 1');
48 48
                     },
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                     'label' => 'title',
54 54
                     'translation_domain' => 'gs_suppliers',
55 55
                     'empty_data' => null,
56
-                    'attr'  => ['class' => 'form-control', 'readonly' => true,],
56
+                    'attr'  => ['class' => 'form-control', 'readonly' => true, ],
57 57
                 )
58 58
             )
59 59
             ->add(
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
                     'format' => 'EEEE dd MMMM yyyy',
68 68
                     'html5' => false,
69 69
                     'input' => 'datetime',
70
-                    'attr'  => ['class' => 'form-control', 'readonly' => true,],
70
+                    'attr'  => ['class' => 'form-control', 'readonly' => true, ],
71 71
                 )
72 72
             )
73 73
             ->add(
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
                     'format' => 'EEEE dd MMMM yyyy',
82 82
                     'html5' => false,
83 83
                     'input' => 'datetime',
84
-                    'attr'  => ['class' => 'form-control', 'readonly' => true,],
84
+                    'attr'  => ['class' => 'form-control', 'readonly' => true, ],
85 85
                 )
86 86
             )
87 87
             ->add(
Please login to merge, or discard this patch.