Skip to content

Commit

Permalink
cs-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
何平 committed Jun 12, 2024
1 parent 149cbc2 commit f431aa4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bin/hyperf.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
<?php

declare(strict_types=1);

/**
* This file is part of Cloud-Admin project.
*
* @link https://www.cloud-admin.jayjay.cn
* @document https://wiki.cloud-admin.jayjay.cn
* @license https://github.com/swow-cloud/swow-admin/blob/master/LICENSE
*/

use Hyperf\Contract\ApplicationInterface;
use Hyperf\Di\ClassLoader;
use Psr\Container\ContainerInterface;
Expand Down Expand Up @@ -68,8 +70,8 @@ function initialize(): void

$debugger = WebSocketDebugger::createWithWebSocket('sdb', $serverConfig, $sslConfig);

Coroutine::run(fn () => $debugger?->start());
Coroutine::run(fn () => $debugger?->detectActiveConnections());
Coroutine::run(fn() => $debugger?->start());
Coroutine::run(fn() => $debugger?->detectActiveConnections());
}
}

Expand Down

0 comments on commit f431aa4

Please sign in to comment.