Completed
Pull Request — 2.x (#36)
by
unknown
02:53 queued 01:04
created
src/Connectors/PhpRedisConnector.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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.
Please login to merge, or discard this patch.