diff --git a/System/Abstracts/BaseApplication.php b/System/Abstracts/BaseApplication.php index 4f41de7f..08d47746 100644 --- a/System/Abstracts/BaseApplication.php +++ b/System/Abstracts/BaseApplication.php @@ -428,15 +428,6 @@ abstract class BaseApplication extends Component } - /** - * @return \Rpc\Producer - * @throws Exception - */ - public function getRpc(): Producer - { - return $this->get('rpc'); - } - /** * @param $array @@ -463,9 +454,9 @@ abstract class BaseApplication extends Component /** * @param $id - * @param $definition - * @throws ReflectionException + * @return bool * @throws NotFindClassException + * @throws ReflectionException */ public function has($id): bool { diff --git a/http-helper/Server.php b/http-helper/Server.php index cc4a64e6..8fda6d5b 100644 --- a/http-helper/Server.php +++ b/http-helper/Server.php @@ -14,7 +14,6 @@ use Kiri\Exception\ConfigException; use Kiri\Exception\NotFindClassException; use Kiri\Process\Biomonitoring; use ReflectionException; -use Rpc\Service; use Server\Constant; use Server\Events\OnShutdown; use Server\ServerManager;