@@ -39,7 +39,7 @@ |
||
| 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 | }, |
@@ -68,7 +68,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | ; |
@@ -150,7 +150,7 @@ discard block |
||
| 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 |
||
| 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 | } |