@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | * Create a new Redis Sentinel connection from the provided configuration |
68 | 68 | * options |
69 | 69 | * |
70 | - * @param array $server The client configuration for the connection |
|
70 | + * @param array $servers The client configuration for the connection |
|
71 | 71 | * @param array $options The global client options shared by all Sentinel |
72 | 72 | * connections |
73 | 73 | * |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | * Retry the callback when a RedisException is catched. |
182 | 182 | * |
183 | 183 | * @param callable $callback The operation to execute. |
184 | - * @return mixed The result of the first successful attempt. |
|
184 | + * @return null|callable The result of the first successful attempt. |
|
185 | 185 | * |
186 | 186 | * @throws RedisRetryException After exhausting the allowed number of |
187 | 187 | * attempts to connect. |