소스 검색

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

Daniele Alessandri 15 년 전
부모
커밋
d3a62d68bb
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      lib/Predis.php

+ 0 - 1
lib/Predis.php

@@ -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 {