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
@@ -11,7 +11,9 @@ use Illuminate\Support\Facades\DB;
class PaymentEventChargesService
{
public function __construct(private ChargeService $chargeService) {}
public function __construct(private ChargeService $chargeService)
{
}
public function listCharges(?string $schoolYear, ?string $semester): array
{
@@ -54,7 +56,7 @@ class PaymentEventChargesService
$count = 0;
if (! empty($studentIds)) {
if (!empty($studentIds)) {
foreach ($studentIds as $studentId) {
$result = $this->chargeService->createEventCharge([
'parent_id' => $parentId,
@@ -71,7 +73,7 @@ class PaymentEventChargesService
$count++;
}
}
} elseif (! empty($payload['student_id'])) {
} elseif (!empty($payload['student_id'])) {
$result = $this->chargeService->createEventCharge([
'parent_id' => $parentId,
'student_id' => (int) $payload['student_id'],