Browse Source

Remove useless return statement.

Backported from da8a203 (master).
Daniele Alessandri 11 years ago
parent
commit
23c4b95a0b
1 changed files with 0 additions and 2 deletions
  1. 0 2
      lib/Predis/Connection/PhpiredisStreamConnection.php

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

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