Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-08 23:30:22 -04:00
parent 567dc24649
commit c792b8be05
1288 changed files with 10766 additions and 9669 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();
}
}