Explorar o código

Fix strict notice for undefined property during tests.

Daniele Alessandri %!s(int64=11) %!d(string=hai) anos
pai
achega
0128ecc623
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 {