some PHPDoc fixes in lib

and removed some unused imports also
This commit is contained in:
Alexandru Patranescu
2013-06-02 23:58:19 +03:00
parent 7e0ec1a265
commit 2d2930d24f
25 changed files with 28 additions and 47 deletions
@@ -11,8 +11,6 @@
namespace Predis\Connection;
use Predis\Profile\ServerProfileInterface;
/**
* Interface that must be implemented by classes that provide their own mechanism
* to create and initialize new instances of Predis\Connection\SingleConnectionInterface.
@@ -40,16 +38,16 @@ interface ConnectionFactoryInterface
* Creates a new connection object.
*
* @param mixed $parameters Parameters for the connection.
* @return Predis\Connection\SingleConnectionInterface
* @return SingleConnectionInterface
*/
public function create($parameters);
/**
* Prepares an aggregation of connection objects.
*
* @param AggregatedConnectionInterface Instance of an aggregated connection class.
* @param AggregatedConnectionInterface $cluster Instance of an aggregated connection class.
* @param array $parameters List of parameters for each connection object.
* @return Predis\Connection\AggregatedConnectionInterface
* @return AggregatedConnectionInterface
*/
public function createAggregated(AggregatedConnectionInterface $cluster, Array $parameters);
}