Big batch of phpdoc improvements and minor code styling fixes.

This commit is contained in:
Daniele Alessandri
2013-12-10 19:21:52 +01:00
parent 8744285cb3
commit 59b5658cf5
77 changed files with 361 additions and 336 deletions
@@ -23,17 +23,17 @@ use Predis\Connection\ComposableConnectionInterface;
interface ProtocolProcessorInterface
{
/**
* Writes a command to the specified connection.
* Writes a request over a connection to Redis.
*
* @param ComposableConnectionInterface $connection Connection to Redis.
* @param CommandInterface $command Redis command.
* @param ComposableConnectionInterface $connection Redis connection.
* @param CommandInterface $command Command instance.
*/
public function write(ComposableConnectionInterface $connection, CommandInterface $command);
/**
* Reads a response from the specified connection.
* Reads a response from a connection to Redis.
*
* @param ComposableConnectionInterface $connection Connection to Redis.
* @param ComposableConnectionInterface $connection Redis connection.
* @return mixed
*/
public function read(ComposableConnectionInterface $connection);