Ver Fonte

Enforce bool

Joanhey há 6 anos atrás
pai
commit
4d92ee1a36
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Connection/TcpConnection.php

+ 1 - 1
Connection/TcpConnection.php

@@ -777,7 +777,7 @@ class TcpConnection extends ConnectionInterface
             return false;
         } elseif (0 === $ret) {
             // There isn't enough data and should try again.
-            return 0;
+            return false;
         }
         if (isset($this->onSslHandshake)) {
             try {