style: Laravel Pint 코드 포맷팅 적용

- PSR-12 스타일 가이드 준수
- 302개 파일 스타일 이슈 자동 수정
- 코드 로직 변경 없음 (포맷팅만)
This commit is contained in:
2025-11-06 17:45:49 +09:00
parent 48e76432ee
commit cc206fdbed
294 changed files with 4476 additions and 2561 deletions

View File

@@ -45,6 +45,7 @@ public function create(array $data): DesignModel
return DB::transaction(function () use ($tenantId, $data) {
$payload = array_merge($data, ['tenant_id' => $tenantId]);
return DesignModel::create($payload);
});
}
@@ -55,10 +56,10 @@ public function find(int $id): DesignModel
$tenantId = $this->tenantId();
$model = DesignModel::query()
->where('tenant_id', $tenantId)
->with(['versions' => fn($q) => $q->orderBy('version_no')])
->with(['versions' => fn ($q) => $q->orderBy('version_no')])
->find($id);
if (!$model) {
if (! $model) {
throw new NotFoundHttpException(__('error.not_found'));
}
@@ -74,7 +75,7 @@ public function update(int $id, array $data): DesignModel
->where('tenant_id', $tenantId)
->find($id);
if (!$model) {
if (! $model) {
throw new NotFoundHttpException(__('error.not_found'));
}
@@ -103,7 +104,7 @@ public function delete(int $id): void
->where('tenant_id', $tenantId)
->find($id);
if (!$model) {
if (! $model) {
throw new NotFoundHttpException(__('error.not_found'));
}