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 years ago
parent
commit
9a1feabbb7
1 changed files with 2 additions and 2 deletions
  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'; }
 }