Ver Fonte

Fix strict notice for undefined property during tests.

Daniele Alessandri há 11 anos atrás
pai
commit
0128ecc623
1 ficheiros alterados com 1 adições e 1 exclusões
  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 ($disconnect) {
             if ($this->valid()) {
             if ($this->valid()) {
-                $this->position = $this->replySize;
+                $this->position = $this->size;
                 $this->connection->disconnect();
                 $this->connection->disconnect();
             }
             }
         } else {
         } else {