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
@@ -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);
}