ソースを参照

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();