瀏覽代碼

Client::executeCommandInternal must accept IConnection types! Stupid bugs are indeed stupid.

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

+ 1 - 1
lib/Predis.php

@@ -104,7 +104,7 @@ class Client {
         return $command;
     }
 
-    private function executeCommandInternal(Connection $connection, Command $command) {
+    private function executeCommandInternal(IConnection $connection, Command $command) {
         $connection->writeCommand($command);
         if ($command->closesConnection()) {
             return $connection->disconnect();