Skip to content

Commit d8ce027

Browse files
committed
Optimized code.
1 parent 4bd3f47 commit d8ce027

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

publish/redis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
'reserved' => null,
2121
'retry_interval' => 0,
2222
'cluster' => [
23-
'enable' => (bool) env('REDIS_ENABLE_CLUSTER', false),
23+
'enable' => (bool) env('REDIS_CLUSTER_ENABLE', false),
2424
'name' => null,
2525
'seeds' => [],
2626
],

src/RedisConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use Psr\Container\ContainerInterface;
2020

2121
/**
22-
* @method select(int $db)
22+
* @method bool select(int $db)
2323
*/
2424
class RedisConnection extends BaseConnection implements ConnectionInterface
2525
{

0 commit comments

Comments
 (0)