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
@@ -53,7 +53,7 @@ class ClassController extends BaseApiController
$section = $this->queryService->find((int) $classSection->id);
if (!$section) {
if (! $section) {
return $this->error('Class section not found.', Response::HTTP_NOT_FOUND);
}
@@ -88,7 +88,7 @@ class ClassController extends BaseApiController
{
$this->authorize('delete', $classSection);
if (!$this->commandService->delete($classSection)) {
if (! $this->commandService->delete($classSection)) {
return $this->error('Class section not found.', Response::HTTP_NOT_FOUND);
}
@@ -125,7 +125,8 @@ class ClassController extends BaseApiController
try {
$created = $this->seedService->seedDefaults();
} catch (\Throwable $e) {
Log::error('Seeding default classes failed: ' . $e->getMessage());
Log::error('Seeding default classes failed: '.$e->getMessage());
return $this->error('Unable to seed default classes.', Response::HTTP_INTERNAL_SERVER_ERROR);
}