소스 검색

Remove useless return statement.

Backported from da8a203 (master).
Daniele Alessandri 11 년 전
부모
커밋
23c4b95a0b
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  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);