This commit is contained in:
2021-08-18 13:32:37 +08:00
parent 99e2f36794
commit 1c4020810f
2 changed files with 2 additions and 12 deletions
+2 -11
View File
@@ -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
{