@@ -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); |
@@ -49,7 +49,7 @@ discard block |
||
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. |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | foreach ($sentinelOpts as $option => $value) { |
90 | 90 | DynamicMethod::parseFromUnderscore($option) |
91 | 91 | ->prepend('set') |
92 | - ->callOn($connection, [ $value ]); |
|
92 | + ->callOn($connection, [$value]); |
|
93 | 93 | } |
94 | 94 | } |
95 | 95 | } |