This commit is contained in:
as2252258@163.com
2021-07-26 03:18:09 +08:00
parent b8f8d9162c
commit d56c2bba9e
2 changed files with 8 additions and 6 deletions
+1
View File
@@ -19,6 +19,7 @@ class ServerDefaultEvent extends Server
/** /**
* @param \Swoole\Server $server * @param \Swoole\Server $server
* @throws \Snowflake\Exception\ConfigException
*/ */
public function onStart(\Swoole\Server $server) public function onStart(\Swoole\Server $server)
{ {
+1
View File
@@ -16,6 +16,7 @@ class ServerManager extends Server
/** /**
* @param \Swoole\Server $server * @param \Swoole\Server $server
* @throws \Snowflake\Exception\ConfigException
*/ */
public function onManagerStart(\Swoole\Server $server) public function onManagerStart(\Swoole\Server $server)
{ {