格式化代码

This commit is contained in:
iVampireSP.com 2023-02-09 19:46:25 +08:00
parent 4601da469b
commit 25add076f9
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -32,7 +32,7 @@ public function handle(): int
$weight = $this->argument('weight');
$this->info("当前节点的权重为:{$weight}");
if ($weight == "0") {
if ($weight == '0') {
$this->warn('请求将不再调度到此节点。');
} else {
$this->info('将开始接受请求。');