style: Pint 포맷팅 적용
This commit is contained in:
@@ -18,8 +18,9 @@ public function run(): void
|
||||
->whereNull('parent_id')
|
||||
->first();
|
||||
|
||||
if (!$targetGroup) {
|
||||
if (! $targetGroup) {
|
||||
$this->command->error('고객/거래처/채권관리 그룹을 찾을 수 없습니다.');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -41,10 +42,12 @@ public function run(): void
|
||||
->where('name', $name)
|
||||
->where('is_active', true)
|
||||
->first();
|
||||
if ($menu) break;
|
||||
if ($menu) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!$menu) {
|
||||
if (! $menu) {
|
||||
// 이미 이동된 경우 확인
|
||||
$existing = Menu::withoutGlobalScopes()
|
||||
->where('tenant_id', $tenantId)
|
||||
@@ -55,8 +58,9 @@ public function run(): void
|
||||
if ($existing) {
|
||||
$this->command->info(" 이미 이동됨: {$newName} (id: {$existing->id})");
|
||||
} else {
|
||||
$this->command->warn(" 메뉴 없음: " . implode(' / ', $searchNames));
|
||||
$this->command->warn(' 메뉴 없음: '.implode(' / ', $searchNames));
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user