Completed
Push — master ( 1af8b6...90bc50 )
by Laurent
03:35
created
src/AppBundle/Form/Type/Settings/Diverse/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/Orders/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.
src/AppBundle/Form/Type/Orders/OrdersType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
                 EntityType::class,
40 40
                 array(
41 41
                     'class' => 'AppBundle:Supplier',
42
-                    'query_builder' => function (EntityRepository $er) {
42
+                    'query_builder' => function(EntityRepository $er) {
43 43
                         return $er->createQueryBuilder('s')
44 44
                             ->where('s.active = 1');
45 45
                     },
Please login to merge, or discard this patch.
src/AppBundle/Form/Type/Orders/OrdersArticlesType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                     'empty_data' => '0,000',
69 69
                     'label' => 'settings.quantity',
70 70
                     'translation_domain' => 'gs_articles',
71
-                    'attr'=> ['class' => 'form-control text-right',],
71
+                    'attr'=> ['class' => 'form-control text-right', ],
72 72
                 )
73 73
             )
74 74
             ->add(
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
                     'currency' => 'EUR',
93 93
                     'label' => 'settings.price',
94 94
                     'translation_domain' => 'gs_articles',
95
-                    'attr'=> ['class' => 'form-control text-right', 'readonly' => true,],
95
+                    'attr'=> ['class' => 'form-control text-right', 'readonly' => true, ],
96 96
                 )
97 97
             )
98 98
             ->add(
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
                     'label' => 'seizure.total',
119 119
                     'translation_domain' => 'gs_orders',
120 120
                     'mapped' => false,
121
-                    'attr'=> ['class' => 'form-control text-right', 'readonly' => true,]
121
+                    'attr'=> ['class' => 'form-control text-right', 'readonly' => true, ]
122 122
                 )
123 123
             )
124 124
         ;
Please login to merge, or discard this patch.
src/AppBundle/Entity/Orders/Orders.php 1 patch
Spacing   +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
     public function setAmount($amount)
152 152
     {
153
-        $this->amount = (double)$amount;
153
+        $this->amount = (double) $amount;
154 154
 
155 155
         return $this;
156 156
     }
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      */
174 174
     public function setTva($tva)
175 175
     {
176
-        $this->tva = (double)$tva;
176
+        $this->tva = (double) $tva;
177 177
 
178 178
         return $this;
179 179
     }
Please login to merge, or discard this patch.