瀏覽代碼

Fixed a small oversight.

Daniele Alessandri 15 年之前
父節點
當前提交
011d544d06
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -14,7 +14,7 @@ class Client {
     public function __construct($parameters = null, RedisServerProfile $serverProfile = null) {
         $this->_responseReader = new ResponseReader();
         $this->setProfile($serverProfile ?: RedisServerProfile::getDefault());
-        $this->setupConnection($parameters, $this->_responseReader);
+        $this->setupConnection($parameters);
     }
 
     public function __destruct() {