This commit is contained in:
2021-08-01 11:18:09 +08:00
parent eb08fbaa0b
commit a0f1d7d933
+2 -1
View File
@@ -72,6 +72,7 @@ class ServerManager extends Abstracts\Server
* @throws NotFindClassException
* @throws ReflectionException
* @throws ConfigException
* @throws Exception
*/
public function addListener(string $type, string $host, int $port, int $mode, array $settings = [])
{
@@ -308,7 +309,7 @@ class ServerManager extends Abstracts\Server
/**
* @param $port
* @return bool
* @return bool|string
*/
private function portIsAready($port): bool|string
{