Completed
Pull Request — 2.x (#36)
by
unknown
02:53 queued 01:04
created
src/Configuration/Loader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     /**
172 172
      * Create an instance of the loader and load the configuration in one step.
173 173
      *
174
-     * @param LaravelApplication|LumenApplication $app The current application
174
+     * @param \Illuminate\Contracts\Container\Container $app The current application
175 175
      * instance that provides context and services needed to load the
176 176
      * appropriate configuration.
177 177
      *
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
      * This helper method enables the package's service providers to get config
254 254
      * values without having to resolve the config service from the container.
255 255
      *
256
-     * @param string|array $key     The key(s) for the value(s) to fetch.
256
+     * @param string $key     The key(s) for the value(s) to fetch.
257 257
      * @param mixed        $default Returned if the key does not exist.
258 258
      *
259 259
      * @return mixed The requested configuration value or the provided default
Please login to merge, or discard this patch.
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.