Просмотр исходного кода

No need for strict comparison here.

Should be also slightly faster (at least on a micro-optimization scale).
Daniele Alessandri 12 лет назад
Родитель
Сommit
da343046e5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/Predis/Connection/StreamConnection.php

+ 1 - 1
lib/Predis/Connection/StreamConnection.php

@@ -249,7 +249,7 @@ class StreamConnection extends AbstractConnection
                 if ($count === -1) {
                     return null;
                 }
-                if ($this->mbiterable === true) {
+                if ($this->mbiterable) {
                     return new MultiBulkResponseSimple($this, $count);
                 }