@@ -44,7 +44,7 @@  | 
                                                    ||
| 44 | 44 | */  | 
                                                        
| 45 | 45 | protected function resolve($name)  | 
                                                        
| 46 | 46 |      { | 
                                                        
| 47 | - $options = Arr::get($this->config, 'options', [ ]);  | 
                                                        |
| 47 | + $options = Arr::get($this->config, 'options', []);  | 
                                                        |
| 48 | 48 | |
| 49 | 49 |          if (isset($this->config[$name])) { | 
                                                        
| 50 | 50 | return $this->connector()->connect($this->config[$name], $options);  | 
                                                        
@@ -76,7 +76,7 @@  | 
                                                    ||
| 76 | 76 | * @param array $clientOpts Non-sentinel client options  | 
                                                        
| 77 | 77 | * @param array $sentinelOpts Sentinel-specific options  | 
                                                        
| 78 | 78 | *  | 
                                                        
| 79 | - * @return void  | 
                                                        |
| 79 | + * @return Client  | 
                                                        |
| 80 | 80 | */  | 
                                                        
| 81 | 81 | protected function makePredisClient(  | 
                                                        
| 82 | 82 | array $server,  | 
                                                        
@@ -45,11 +45,11 @@ discard block  | 
                                                    ||
| 45 | 45 | * @return PredisConnection The Sentinel connection containing a configured  | 
                                                        
| 46 | 46 | * Predis Client  | 
                                                        
| 47 | 47 | */  | 
                                                        
| 48 | - public function connect(array $server, array $options = [ ])  | 
                                                        |
| 48 | + public function connect(array $server, array $options = [])  | 
                                                        |
| 49 | 49 |      { | 
                                                        
| 50 | 50 | // Merge the global options shared by all Sentinel connections with  | 
                                                        
| 51 | 51 | // connection-specific options  | 
                                                        
| 52 | - $clientOpts = array_merge($options, Arr::pull($server, 'options', [ ]));  | 
                                                        |
| 52 | + $clientOpts = array_merge($options, Arr::pull($server, 'options', []));  | 
                                                        |
| 53 | 53 | |
| 54 | 54 | // Automatically set "replication" to "sentinel". This is the Sentinel  | 
                                                        
| 55 | 55 | // driver, after all.  | 
                                                        
@@ -91,7 +91,7 @@ discard block  | 
                                                    ||
| 91 | 91 |          foreach ($sentinelOpts as $option => $value) { | 
                                                        
| 92 | 92 | DynamicMethod::parseFromUnderscore($option)  | 
                                                        
| 93 | 93 |                  ->prepend('set') | 
                                                        
| 94 | - ->callOn($connection, [ $value ]);  | 
                                                        |
| 94 | + ->callOn($connection, [$value]);  | 
                                                        |
| 95 | 95 | }  | 
                                                        
| 96 | 96 | |
| 97 | 97 | return $client;  |