Version 5.0.0 beta 9
This commit is contained in:
1 parent
214f649f1d
commit
56979f8ee8
202 files changed
+4403
-1123
No files matched your search
@@ -278,7 +278,7 @@ class Redis
|
||||
{
|
||||
if ( method_exists( 'Redis', $method ) )
|
||||
{
|
||||
$type = ( stristr( $method, 'get' ) or stristr( $method, 'RevRange' ) ) ? 'read' : 'write';
|
||||
$type = ( stristr( $method, 'get' ) or stristr( $method, 'RevRange' ) or $method === 'lRange' ) ? 'read' : 'write';
|
||||
$return = $this->connection( $type )->$method( ...$args );
|
||||
|
||||
if ( $type === 'write' and count( $args ) )
|
||||
|
||||
Reference in new issue
Block a user