Browse Source

Fixed a small oversight.

Daniele Alessandri 15 năm trước cách đây
mục cha
commit
011d544d06
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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() {