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
+3 -9
View File
@@ -5,10 +5,8 @@ declare(strict_types=1);
namespace Snowflake\Pool;
use ReflectionException;
use Exception;
use Snowflake\Abstracts\BaseObject;
use Snowflake\Exception\ComponentException;
use Snowflake\Exception\NotFindClassException;
use Snowflake\Snowflake;
/**
@@ -23,9 +21,7 @@ class Pool extends BaseObject
/**
* @return Redis
* @throws ComponentException
* @throws ReflectionException
* @throws NotFindClassException
* @throws Exception
*/
public function getRedis(): Redis
{
@@ -34,9 +30,7 @@ class Pool extends BaseObject
/**
* @return Connection
* @throws ComponentException
* @throws NotFindClassException
* @throws ReflectionException
* @throws Exception
*/
public function getDb(): Connection
{