@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | /** |
| 139 | 139 | * Create an instance of the loader and load the configuration in one step. |
| 140 | 140 | * |
| 141 | - * @param LaravelApplication|LumenApplication $app The current application |
|
| 141 | + * @param \Illuminate\Contracts\Foundation\Application $app The current application |
|
| 142 | 142 | * instance that provides context and services needed to load the |
| 143 | 143 | * appropriate configuration. |
| 144 | 144 | * |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | * This helper method enables the package's service providers to get config |
| 204 | 204 | * values without having to resolve the config service from the container. |
| 205 | 205 | * |
| 206 | - * @param string|array $key The key(s) for the value(s) to fetch. |
|
| 206 | + * @param string $key The key(s) for the value(s) to fetch. |
|
| 207 | 207 | * @param mixed $default Returned if the key does not exist. |
| 208 | 208 | * |
| 209 | 209 | * @return mixed The requested configuration value or the provided default |
@@ -78,7 +78,7 @@ |
||
| 78 | 78 | { |
| 79 | 79 | $this->app->singleton('redis-sentinel', function ($app) { |
| 80 | 80 | $class = $this->config->getVersionedRedisSentinelManagerClass(); |
| 81 | - $config = $this->config->get('database.redis-sentinel', [ ]); |
|
| 81 | + $config = $this->config->get('database.redis-sentinel', []); |
|
| 82 | 82 | $driver = Arr::pull($config, 'client', 'predis'); |
| 83 | 83 | |
| 84 | 84 | return new RedisSentinelManager(new $class($driver, $config)); |