改名
This commit is contained in:
@@ -330,10 +330,10 @@ class Server extends Application
|
|||||||
/**
|
/**
|
||||||
* @param $config
|
* @param $config
|
||||||
* @param $settings
|
* @param $settings
|
||||||
* @return Packet|Websocket|Receive|Http
|
* @return Packet|Websocket|Receive|Http|null
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
private function parseServer($config, $settings): Packet|Websocket|Receive|Http
|
private function parseServer($config, $settings): Packet|Websocket|Receive|Http|null
|
||||||
{
|
{
|
||||||
$class = $this->dispatch($config['type']);
|
$class = $this->dispatch($config['type']);
|
||||||
if ($this->isUse($config['port'])) {
|
if ($this->isUse($config['port'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user