This commit is contained in:
2021-03-31 18:37:53 +08:00
parent 627faaf0c9
commit 3f6a19aea7
10 changed files with 17 additions and 75 deletions
+4 -12
View File
@@ -319,9 +319,7 @@ abstract class BaseApplication extends Service
/**
* @return Connection
* @throws ComponentException
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception
*/
public function getMysqlFromPool(): Connection
{
@@ -331,9 +329,7 @@ abstract class BaseApplication extends Service
/**
* @return SRedis
* @throws NotFindClassException
* @throws ReflectionException
* @throws ComponentException
* @throws Exception
*/
public function getRedisFromPool(): SRedis
{
@@ -453,9 +449,7 @@ abstract class BaseApplication extends Service
/**
* @return \Rpc\Producer
* @throws ComponentException
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception
*/
public function getRpc(): \Rpc\Producer
{
@@ -465,9 +459,7 @@ abstract class BaseApplication extends Service
/**
* @return Channel
* @throws ComponentException
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception
*/
public function getChannel(): Channel
{