Fixed the return value of Predis\Commands\ZSetIncrementBy as it does not return a boolean value but the current score after the increment operation.

This commit is contained in:
Daniele Alessandri
2009-12-19 10:45:19 +01:00
parent af810d9613
commit d3a62d68bb
-1
View File
@@ -986,7 +986,6 @@ class ZSetAdd extends \Predis\BulkCommand {
class ZSetIncrementBy extends \Predis\BulkCommand {
public function getCommandId() { return 'ZINCRBY'; }
public function parseResponse($data) { return (bool) $data; }
}
class ZSetRemove extends \Predis\BulkCommand {