Explorar o código

Remove useless return statement.

Daniele Alessandri %!s(int64=11) %!d(string=hai) anos
pai
achega
da8a203a75
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      lib/Predis/Connection/PhpiredisStreamConnection.php

+ 0 - 2
lib/Predis/Connection/PhpiredisStreamConnection.php

@@ -145,8 +145,6 @@ class PhpiredisStreamConnection extends StreamConnection
 
             if ($buffer === false || $buffer === '') {
                 $this->onConnectionError('Error while reading bytes from the server.');
-
-                return;
             }
 
             phpiredis_reader_feed($reader, $buffer);