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

This commit is contained in:
Daniele Alessandri
2009-11-08 10:38:09 +01:00
parent dc50258c28
commit 9a1feabbb7
+2 -2
View File
@@ -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'; }
}