@@ -38,10 +38,10 @@ |
||
38 | 38 | ->setTemplateName('crud/field/text') |
39 | 39 | ->setFormTypeOptions([ |
40 | 40 | 'type' => PasswordType::class, |
41 | - 'first_options' => [ |
|
41 | + 'first_options' => [ |
|
42 | 42 | 'label' => 'password.new', |
43 | 43 | ], |
44 | - 'second_options' => [ |
|
44 | + 'second_options' => [ |
|
45 | 45 | 'label' => 'password.repeat', |
46 | 46 | ], |
47 | 47 | ]); |
@@ -216,10 +216,10 @@ |
||
216 | 216 | protected function configureOptions(OptionsResolver $resolver): void |
217 | 217 | { |
218 | 218 | $resolver->setRequired([ |
219 | - 'iban', //The IBAN of the sender |
|
220 | - 'bic', //The BIC of the sender |
|
221 | - 'name', //The name of the sender |
|
222 | - ]); |
|
219 | + 'iban', //The IBAN of the sender |
|
220 | + 'bic', //The BIC of the sender |
|
221 | + 'name', //The name of the sender |
|
222 | + ]); |
|
223 | 223 | |
224 | 224 | $resolver->setAllowedTypes('iban', ['string', 'null']); |
225 | 225 | $resolver->setAllowedTypes('bic', ['string', 'null']); |
@@ -184,7 +184,7 @@ |
||
184 | 184 | public function sortPaymentOrderArrayByAmount(array $payment_orders, bool $ascending = true): array |
185 | 185 | { |
186 | 186 | usort($payment_orders, function (PaymentOrder $a, PaymentOrder $b) { |
187 | - return $a->getAmount() <=> $b->getAmount(); |
|
187 | + return $a->getAmount() <=> $b->getAmount(); |
|
188 | 188 | }); |
189 | 189 | |
190 | 190 | if (!$ascending) { |