Selaa lähdekoodia

Remove useless return statement.

Daniele Alessandri 11 vuotta sitten
vanhempi
commit
da8a203a75
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  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);