Fix Pint formatting

This commit is contained in:
root
2026-06-09 01:25:14 -04:00
parent 6be4875c5e
commit 20a0b6c4e5
1485 changed files with 11318 additions and 10273 deletions
@@ -13,8 +13,7 @@ class ClassPreparationPrintService
private ClassPreparationCalculatorService $calculator,
private ClassPreparationAdjustmentService $adjustments,
private ClassPreparationLogService $logs
) {
}
) {}
public function printPrep(string $classSectionId, string $schoolYear, ?string $semester = null): array
{
@@ -31,7 +30,7 @@ class ClassPreparationPrintService
$printedAt = $this->utcNow();
$ok = $this->logs->createLog($classSectionId, $className, $schoolYear, $items, $printedAt);
if (!$ok) {
if (! $ok) {
Log::warning('Failed to store class preparation log.', [
'class_section_id' => $classSectionId,
'school_year' => $schoolYear,
@@ -55,6 +54,7 @@ class ClassPreparationPrintService
if (function_exists('utc_now')) {
return (string) utc_now();
}
return now('UTC')->toDateTimeString();
}
}