@@ -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 | ]); |
@@ -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) { |