Completed
Pull Request — 2.x (#36)
by
unknown
01:42
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
@@ -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.