Преглед на файлове

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 {