Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-09 00:03:03 -04:00
parent 8d4d610b82
commit b5fd4a4ca1
1414 changed files with 11317 additions and 10201 deletions
@@ -192,13 +192,13 @@ class BalanceCalculationServiceTest extends TestCase
private function makeService(): BalanceCalculationService
{
$config = new FeeConfigService();
$config = new FeeConfigService;
$tuition = new TuitionCalculationService(
$config,
new FeeStudentFeeService(new FeeGradeService(), $config)
new FeeStudentFeeService(new FeeGradeService, $config)
);
return new BalanceCalculationService($config, $tuition, new BillingTotalsService());
return new BalanceCalculationService($config, $tuition, new BillingTotalsService);
}
private function seedFeeConfig(): void
@@ -226,7 +226,7 @@ class BalanceCalculationServiceTest extends TestCase
{
return (int) DB::table('invoices')->insertGetId([
'parent_id' => $parentId,
'invoice_number' => 'INV-' . $parentId,
'invoice_number' => 'INV-'.$parentId,
'total_amount' => $total,
'balance' => 0.00,
'paid_amount' => 0.00,
@@ -51,7 +51,7 @@ class BillingTotalsServiceTest extends TestCase
],
]);
$service = new BillingTotalsService();
$service = new BillingTotalsService;
$eventSubtotal = $service->eventSubtotal(10, '2025-2026');
$additionalSubtotal = $service->additionalSubtotal(99, '2025-2026');
@@ -95,7 +95,7 @@ class BillingTotalsServiceTest extends TestCase
],
]);
$service = new BillingTotalsService();
$service = new BillingTotalsService;
$this->assertSame(30.0, $service->additionalSubtotalByParent(10, '2025-2026'));
}
@@ -126,7 +126,7 @@ class BillingTotalsServiceTest extends TestCase
],
]);
$service = new BillingTotalsService();
$service = new BillingTotalsService;
$byStudent = $service->eventSubtotalsByStudent(5, '2025-2026');
$this->assertSame(20.0, $byStudent[1]);