style: Pint 포맷팅 적용

This commit is contained in:
김보곤
2026-02-25 11:45:01 +09:00
parent 68b1622a4e
commit 9a7c548246
199 changed files with 1420 additions and 1083 deletions

View File

@@ -71,7 +71,7 @@ public function store(Request $request)
// 등록 가능 여부 확인
$checkResult = $this->service->canRegister($validated['business_number']);
if (!$checkResult['can_register']) {
if (! $checkResult['can_register']) {
return redirect()->back()
->withInput()
->with('error', $checkResult['reason']);
@@ -172,7 +172,7 @@ public function destroy(int $id)
}
// 관리자만 삭제 가능
if (!auth()->user()->isAdmin()) {
if (! auth()->user()->isAdmin()) {
return redirect()->route('sales.prospects.index')
->with('error', '삭제 권한이 없습니다. 본사 운영팀에 문의하세요.');
}
@@ -257,7 +257,7 @@ public function deleteAttachment(Request $request, int $id)
$type = $request->get('type');
$allowedTypes = ['business_card', 'id_card', 'bankbook'];
if (!in_array($type, $allowedTypes)) {
if (! in_array($type, $allowedTypes)) {
return response()->json(['success' => false, 'message' => '잘못된 요청입니다.'], 400);
}