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