Fix PHPDoc of \Predis\Connection\Aggregate\SentinelReplication::assertConnectionRole()

This commit is contained in:
Fabien Villepinte
2016-09-14 17:20:55 +02:00
parent 6ab10b2b70
commit 94ccb2cc3b
@@ -515,8 +515,10 @@ class SentinelReplication implements ReplicationInterface
/**
* Asserts that the specified connection matches an expected role.
*
* @param NodeConnectionInterface $sentinel Connection to a redis server.
* @param string $role Expected role of the server ("master", "slave" or "sentinel").
* @param NodeConnectionInterface $connection Connection to a redis server.
* @param string $role Expected role of the server ("master", "slave" or "sentinel").
*
* @throws RoleException
*/
protected function assertConnectionRole(NodeConnectionInterface $connection, $role)
{