Browse Source

Fixed a leftover from a test. Oh well, this actually shows off how transparent can be switching from inline/bulk commands to multibulk commands.

Daniele Alessandri 15 năm trước cách đây
mục cha
commit
9a1feabbb7
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      lib/Predis.php

+ 2 - 2
lib/Predis.php

@@ -754,7 +754,7 @@ class Quit extends \Predis\InlineCommand {
 }
 
 /* commands operating on string values */
-class Set extends \Predis\MultiBulkCommand {
+class Set extends \Predis\BulkCommand {
     public function getCommandId() { return 'SET'; }
 }
 
@@ -774,7 +774,7 @@ class SetMultiplePreserve extends \Predis\MultiBulkCommand {
     public function parseResponse($data) { return (bool) $data; }
 }
 
-class Get extends \Predis\MultiBulkCommand {
+class Get extends \Predis\InlineCommand {
     public function getCommandId() { return 'GET'; }
 }