style: Laravel Pint 코드 포맷팅 적용
- PSR-12 스타일 가이드 준수 - 302개 파일 스타일 이슈 자동 수정 - 코드 로직 변경 없음 (포맷팅만)
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Services\TenantBootstrapper;
|
||||
use Illuminate\Console\Attributes\AsCommand;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Console\Attributes\AsCommand;
|
||||
|
||||
#[AsCommand(name: 'tenants:bootstrap', description: 'Bootstrap menus/capability/categories/settings for tenant(s)')]
|
||||
class TenantsBootstrap extends Command
|
||||
@@ -18,7 +18,7 @@ class TenantsBootstrap extends Command
|
||||
|
||||
public function handle(TenantBootstrapper $svc): int
|
||||
{
|
||||
$recipe = (string) $this->option('recipe');
|
||||
$recipe = (string) $this->option('recipe');
|
||||
$tenantId = $this->option('tenant_id');
|
||||
|
||||
if ($this->option('all')) {
|
||||
@@ -27,11 +27,13 @@ public function handle(TenantBootstrapper $svc): int
|
||||
$ids = [(int) $tenantId];
|
||||
} else {
|
||||
$this->error('Provide --tenant_id=ID or --all');
|
||||
|
||||
return self::FAILURE;
|
||||
}
|
||||
|
||||
if (empty($ids)) {
|
||||
$this->warn('No tenant to bootstrap.');
|
||||
|
||||
return self::SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user