소스 검색

No need for strict comparison here.

Should be also slightly faster (at least on a micro-optimization scale).
Daniele Alessandri 12 년 전
부모
커밋
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);
                 }