@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | */ |
| 144 | 144 | public function loadConfiguration() |
| 145 | 145 | { |
| 146 | - if (! $this->shouldLoadConfiguration()) { |
|
| 146 | + if (!$this->shouldLoadConfiguration()) { |
|
| 147 | 147 | return; |
| 148 | 148 | } |
| 149 | 149 | |
@@ -258,7 +258,7 @@ discard block |
||
| 258 | 258 | */ |
| 259 | 259 | protected function setSessionConfiguration() |
| 260 | 260 | { |
| 261 | - if (! $this->supportsSessions |
|
| 261 | + if (!$this->supportsSessions |
|
| 262 | 262 | || $this->config->get('session.driver') !== 'redis-sentinel' |
| 263 | 263 | || $this->config->get('session.connection') !== null |
| 264 | 264 | ) { |
@@ -293,7 +293,7 @@ discard block |
||
| 293 | 293 | protected function mergePackageConfiguration() |
| 294 | 294 | { |
| 295 | 295 | $defaultConfig = require __DIR__ . '/../../config/redis-sentinel.php'; |
| 296 | - $currentConfig = $this->config->get('redis-sentinel', [ ]); |
|
| 296 | + $currentConfig = $this->config->get('redis-sentinel', []); |
|
| 297 | 297 | |
| 298 | 298 | $this->packageConfig = array_merge($defaultConfig, $currentConfig); |
| 299 | 299 | } |
@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | { |
| 309 | 309 | $connections = $this->config->get('database.redis-sentinel'); |
| 310 | 310 | |
| 311 | - if (! is_array($connections)) { |
|
| 311 | + if (!is_array($connections)) { |
|
| 312 | 312 | return; |
| 313 | 313 | } |
| 314 | 314 | |