We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab10b2 commit 94ccb2cCopy full SHA for 94ccb2c
src/Connection/Aggregate/SentinelReplication.php
@@ -515,8 +515,10 @@ private function getConnectionInternal(CommandInterface $command)
515
/**
516
* Asserts that the specified connection matches an expected role.
517
*
518
- * @param NodeConnectionInterface $sentinel Connection to a redis server.
519
- * @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").
520
+ *
521
+ * @throws RoleException
522
*/
523
protected function assertConnectionRole(NodeConnectionInterface $connection, $role)
524
{
0 commit comments