diff --git a/Server.php b/Server.php index 9c2e884..d081bc1 100644 --- a/Server.php +++ b/Server.php @@ -113,7 +113,7 @@ class Server extends HttpService $rpcService = Config::get('rpc', []); if (!empty($rpcService)) { /** @var \Kiri\Server\Config $create */ - $create = $this->container->create(\Kiri\Server\Config::class, null, $rpcService); + $create = $this->container->create(\Kiri\Server\Config::class, [], $rpcService); $this->manager->addListener($create); }