Explorar o código

Removed unused argument for constructor of SafeExecutor and SafeClusterExecutor

Artur Kotyrba %!s(int64=14) %!d(string=hai) anos
pai
achega
7e4b367a1d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/Predis/Client.php

+ 2 - 2
lib/Predis/Client.php

@@ -185,8 +185,8 @@ class Client {
                 $connection = $this->_connection;
                 $pipeline = new PipelineContext($this,
                     Helpers::isCluster($connection)
-                        ? new Pipeline\SafeClusterExecutor($connection)
-                        : new Pipeline\SafeExecutor($connection)
+                        ? new Pipeline\SafeClusterExecutor()
+                        : new Pipeline\SafeExecutor()
                 );
             }
             else {