mirror of
https://github.com/predis/predis.git
synced 2026-09-15 21:07:08 +00:00
Enhancement: allows method chaining with multi-exec blocks.
This commit is contained in:
+1
-1
@@ -502,7 +502,7 @@ class MultiExecBlock {
|
||||
$response = $this->_redisClient->executeCommand($command);
|
||||
if (isset($response->queued)) {
|
||||
$this->_commands[] = $command;
|
||||
return $response;
|
||||
return $this;
|
||||
}
|
||||
else {
|
||||
throw new ClientException('The server did not respond with a QUEUED status reply');
|
||||
|
||||
Reference in New Issue
Block a user