Skip to content

Commit 94ccb2c

Browse files
author
Fabien Villepinte
committed
Fix PHPDoc of \Predis\Connection\Aggregate\SentinelReplication::assertConnectionRole()
1 parent 6ab10b2 commit 94ccb2c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Connection/Aggregate/SentinelReplication.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,10 @@ private function getConnectionInternal(CommandInterface $command)
515515
/**
516516
* Asserts that the specified connection matches an expected role.
517517
*
518-
* @param NodeConnectionInterface $sentinel Connection to a redis server.
519-
* @param string $role Expected role of the server ("master", "slave" or "sentinel").
518+
* @param NodeConnectionInterface $connection Connection to a redis server.
519+
* @param string $role Expected role of the server ("master", "slave" or "sentinel").
520+
*
521+
* @throws RoleException
520522
*/
521523
protected function assertConnectionRole(NodeConnectionInterface $connection, $role)
522524
{

0 commit comments

Comments
 (0)