Преглед на файлове

Enhancement: allows method chaining with multi-exec blocks.

Daniele Alessandri преди 16 години
родител
ревизия
ee5e978a6c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -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');