瀏覽代碼

Remove useless return statement.

Daniele Alessandri 11 年之前
父節點
當前提交
da8a203a75
共有 1 個文件被更改,包括 0 次插入2 次删除
  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);