| @@ -47,7 +47,7 @@ discard block | ||
| 47 | 47 | * @param Client $client The Redis client to wrap. | 
| 48 | 48 | * @param array $sentinelOptions Sentinel-specific connection options. | 
| 49 | 49 | */ | 
| 50 | - public function __construct(Client $client, array $sentinelOptions = [ ]) | |
| 50 | + public function __construct(Client $client, array $sentinelOptions = []) | |
| 51 | 51 |      { | 
| 52 | 52 | parent::__construct($client); | 
| 53 | 53 | |
| @@ -56,7 +56,7 @@ discard block | ||
| 56 | 56 |          foreach ($sentinelOptions as $option => $value) { | 
| 57 | 57 | DynamicMethod::parseFromUnderscore($option) | 
| 58 | 58 |                  ->prepend('set') | 
| 59 | - ->callOn($this, [ $value ]); | |
| 59 | + ->callOn($this, [$value]); | |
| 60 | 60 | } | 
| 61 | 61 | } | 
| 62 | 62 | |
| @@ -142,7 +142,7 @@ discard block | ||
| 142 | 142 | $method = 'subscribe' | 
| 143 | 143 |      ) { | 
| 144 | 144 |          $this->retryOnFailure(function () use ($method, $channels, $callback) { | 
| 145 | - $loop = $this->pubSubLoop([ $method => (array) $channels ]); | |
| 145 | + $loop = $this->pubSubLoop([$method => (array) $channels]); | |
| 146 | 146 | |
| 147 | 147 |              if ($method === 'psubscribe') { | 
| 148 | 148 | $messageKind = 'pmessage'; |