Pārlūkot izejas kodu

Miscellaneous fixes for "use" directives.

Daniele Alessandri 10 gadi atpakaļ
vecāks
revīzija
dc33d62b77

+ 4 - 3
src/Connection/Aggregate/ReplicationInterface.php

@@ -12,6 +12,7 @@
 namespace Predis\Connection\Aggregate;
 
 use Predis\Connection\AggregateConnectionInterface;
+use Predis\Connection\NodeConnectionInterface;
 
 /**
  * Defines a group of Redis nodes in a master / slave replication setup.
@@ -31,21 +32,21 @@ interface ReplicationInterface extends AggregateConnectionInterface
      * Returns the connection instance currently in use by the aggregate
      * connection.
      *
-     * @return Predis\Connection\NodeConnectionInterface
+     * @return NodeConnectionInterface
      */
     public function getCurrent();
 
     /**
      * Returns the connection instance for the master Redis node.
      *
-     * @return Predis\Connection\NodeConnectionInterface
+     * @return NodeConnectionInterface
      */
     public function getMaster();
 
     /**
      * Returns a list of connection instances to slave nodes.
      *
-     * @return Predis\Connection\NodeConnectionInterface
+     * @return NodeConnectionInterface
      */
     public function getSlaves();
 }

+ 1 - 1
src/Pipeline/ConnectionErrorProof.php

@@ -14,9 +14,9 @@ namespace Predis\Pipeline;
 use SplQueue;
 use Predis\NotSupportedException;
 use Predis\CommunicationException;
-use Predis\Connection\ClusterInterface;
 use Predis\Connection\ConnectionInterface;
 use Predis\Connection\NodeConnectionInterface;
+use Predis\Connection\Aggregate\ClusterInterface;
 
 /**
  * Command pipeline that does not throw exceptions on connection errors, but