modify plugin name

This commit is contained in:
2022-06-20 17:31:04 +08:00
parent 005b33c9d6
commit b0b7906135
4 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ interface ServerInterface
* @param string $name
* @return Server|\Swoole\Coroutine\Server|\Swoole\Coroutine\Http\Server|null
*/
public function getServer(string $name): Server|\Swoole\Coroutine\Server|\Swoole\Coroutine\Http\Server|null;
public function getServer(string $name = ''): Server|\Swoole\Coroutine\Server|\Swoole\Coroutine\Http\Server|null;
/**