style: Laravel Pint 코드 스타일 자동 수정
This commit is contained in:
@@ -77,7 +77,7 @@ public function show(Request $request, int $id): JsonResponse
|
||||
{
|
||||
$department = $this->departmentService->getDepartmentById($id);
|
||||
|
||||
if (!$department) {
|
||||
if (! $department) {
|
||||
return response()->json([
|
||||
'success' => false,
|
||||
'message' => '부서를 찾을 수 없습니다.',
|
||||
@@ -104,7 +104,7 @@ public function update(UpdateDepartmentRequest $request, int $id): JsonResponse
|
||||
{
|
||||
$result = $this->departmentService->updateDepartment($id, $request->validated());
|
||||
|
||||
if (!$result) {
|
||||
if (! $result) {
|
||||
return response()->json([
|
||||
'success' => false,
|
||||
'message' => '부서 수정에 실패했습니다.',
|
||||
@@ -133,7 +133,7 @@ public function destroy(Request $request, int $id): JsonResponse
|
||||
{
|
||||
$result = $this->departmentService->deleteDepartment($id);
|
||||
|
||||
if (!$result) {
|
||||
if (! $result) {
|
||||
return response()->json([
|
||||
'success' => false,
|
||||
'message' => '부서 삭제에 실패했습니다. (하위 부서가 존재할 수 있습니다)',
|
||||
@@ -154,4 +154,4 @@ public function destroy(Request $request, int $id): JsonResponse
|
||||
'message' => '부서가 삭제되었습니다.',
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user