mirror of
https://github.com/predis/predis.git
synced 2026-09-11 19:07:30 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user