|
@@ -81,7 +81,7 @@ discard block |
|
|
block discarded – undo |
|
81
|
81
|
* Create a new Redis Sentinel connection from the provided configuration |
|
82
|
82
|
* options |
|
83
|
83
|
* |
|
84
|
|
- * @param array $server The client configuration for the connection |
|
|
84
|
+ * @param array $servers The client configuration for the connection |
|
85
|
85
|
* @param array $options The global client options shared by all Sentinel |
|
86
|
86
|
* connections |
|
87
|
87
|
* |
|
@@ -248,7 +248,7 @@ discard block |
|
|
block discarded – undo |
|
248
|
248
|
* @param int $retryLimit The number of times the retry is performed. |
|
249
|
249
|
* @param int $retryWait The time in milliseconds to wait before retrying again. |
|
250
|
250
|
* @param callable $failureCallback The operation to execute when a failure happens. |
|
251
|
|
- * @return mixed The result of the first successful attempt. |
|
|
251
|
+ * @return null|callable The result of the first successful attempt. |
|
252
|
252
|
* |
|
253
|
253
|
* @throws RedisRetryException After exhausting the allowed number of |
|
254
|
254
|
* attempts to connect. |
Please login to merge, or discard this patch.