瀏覽代碼

Fix strict notice for undefined property during tests.

Daniele Alessandri 11 年之前
父節點
當前提交
0128ecc623
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Predis/Iterator/MultiBulkResponseSimple.php

+ 1 - 1
lib/Predis/Iterator/MultiBulkResponseSimple.php

@@ -55,7 +55,7 @@ class MultiBulkResponseSimple extends MultiBulkResponse
     {
         if ($disconnect) {
             if ($this->valid()) {
-                $this->position = $this->replySize;
+                $this->position = $this->size;
                 $this->connection->disconnect();
             }
         } else {