Эх сурвалжийг харах

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

Daniele Alessandri 16 жил өмнө
parent
commit
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();