Преглед изворни кода

No need for strict comparison here.

Should be also slightly faster (at least on a micro-optimization scale).
Daniele Alessandri пре 13 година
родитељ
комит
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);
                 }