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
+4 -3
View File
@@ -9,7 +9,9 @@ use App\Services\Invoices\InvoiceGenerationService;
class EventChargeService
{
public function __construct(private InvoiceGenerationService $invoiceGeneration) {}
public function __construct(private InvoiceGenerationService $invoiceGeneration)
{
}
public function seedChargesForEvent(Event $event, string $schoolYear, string $semester, float $amount, int $actorId): array
{
@@ -80,7 +82,7 @@ class EventChargeService
int $actorId
): array {
$event = Event::getEvent($eventId, $schoolYear);
if (! $event) {
if (!$event) {
return ['ok' => false, 'message' => 'Event not found.'];
}
@@ -107,7 +109,6 @@ class EventChargeService
$existing->delete();
$deleted++;
}
continue;
}