fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
@@ -8,7 +8,9 @@ use App\Services\Discounts\DiscountInvoiceService;
class RefundInvoiceAdjustmentService
{
public function __construct(private DiscountInvoiceService $invoiceService) {}
public function __construct(private DiscountInvoiceService $invoiceService)
{
}
public function applyBookChargeAndUpdateInvoice(
Invoice $invoice,
@@ -21,7 +23,7 @@ class RefundInvoiceAdjustmentService
$bookChargeDesc = 'Book fee retained for withdrawals before the refund deadline.';
$bookPrice = (float) ($refundDetails['book_price'] ?? 0.0);
$eligible = ! empty($refundDetails['eligible']);
$eligible = !empty($refundDetails['eligible']);
$bookChargeDelta = 0.0;
$bookChargeAction = 'none';