改名
This commit is contained in:
@@ -72,6 +72,7 @@ class ServerManager extends Abstracts\Server
|
|||||||
* @throws NotFindClassException
|
* @throws NotFindClassException
|
||||||
* @throws ReflectionException
|
* @throws ReflectionException
|
||||||
* @throws ConfigException
|
* @throws ConfigException
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function addListener(string $type, string $host, int $port, int $mode, array $settings = [])
|
public function addListener(string $type, string $host, int $port, int $mode, array $settings = [])
|
||||||
{
|
{
|
||||||
@@ -308,7 +309,7 @@ class ServerManager extends Abstracts\Server
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $port
|
* @param $port
|
||||||
* @return bool
|
* @return bool|string
|
||||||
*/
|
*/
|
||||||
private function portIsAready($port): bool|string
|
private function portIsAready($port): bool|string
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user