改名
This commit is contained in:
@@ -5,7 +5,7 @@ declare(strict_types=1);
|
||||
namespace Snowflake\Pool;
|
||||
|
||||
|
||||
use JetBrains\PhpStorm\Pure;
|
||||
|
||||
use Snowflake\Snowflake;
|
||||
|
||||
/**
|
||||
@@ -21,7 +21,7 @@ class Pool extends \Snowflake\Abstracts\Pool
|
||||
/**
|
||||
* @return Redis
|
||||
*/
|
||||
#[Pure] public function getRedis(): Redis
|
||||
public function getRedis(): Redis
|
||||
{
|
||||
return Snowflake::app()->redis_connections;
|
||||
}
|
||||
@@ -29,7 +29,7 @@ class Pool extends \Snowflake\Abstracts\Pool
|
||||
/**
|
||||
* @return Connection
|
||||
*/
|
||||
#[Pure] public function getDb(): Connection
|
||||
public function getDb(): Connection
|
||||
{
|
||||
return Snowflake::app()->connections;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user