改名
This commit is contained in:
@@ -301,10 +301,11 @@ class Server extends Application
|
|||||||
/**
|
/**
|
||||||
* @param $config
|
* @param $config
|
||||||
* @param $settings
|
* @param $settings
|
||||||
* @return \Swoole\Server|Packet|Receive|Http|Websocket
|
* @return \Swoole\Server|Packet|Receive|Http|Websocket|null
|
||||||
* @throws Exception
|
* @throws NotFindClassException
|
||||||
|
* @throws ReflectionException
|
||||||
*/
|
*/
|
||||||
private function dispatchCreate($config, $settings): \Swoole\Server|Packet|Receive|Http|Websocket
|
private function dispatchCreate($config, $settings): \Swoole\Server|Packet|Receive|Http|Websocket|null
|
||||||
{
|
{
|
||||||
if (!($this->baseServer instanceof \Swoole\Server)) {
|
if (!($this->baseServer instanceof \Swoole\Server)) {
|
||||||
$this->parseServer($config, $settings);
|
$this->parseServer($config, $settings);
|
||||||
|
|||||||
Reference in New Issue
Block a user