Completed
Push — 2.x ( 91e12b...ed04a7 )
by Cy
01:35
created
src/Connections/PredisConnection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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';
Please login to merge, or discard this patch.