Completed
Push — 1.x ( 1267b2...d54394 )
by Cy
01:58
created
src/RedisSentinelDatabase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
         foreach ($sentinelOpts as $option => $value) {
147 147
             DynamicMethod::parseFromUnderscore($option)
148 148
                 ->prepend('set')
149
-                ->callOn($client, [ $value ]);
149
+                ->callOn($client, [$value]);
150 150
         }
151 151
     }
152 152
 }
Please login to merge, or discard this patch.
src/PredisConnection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
         $method = 'subscribe'
127 127
     ) {
128 128
         $this->retryOnFailure(function () use ($method, $channels, $callback) {
129
-            $loop = $this->pubSubLoop([ $method => (array) $channels ]);
129
+            $loop = $this->pubSubLoop([$method => (array) $channels]);
130 130
 
131 131
             if ($method === 'psubscribe') {
132 132
                 $messageKind = 'pmessage';
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
      */
202 202
     public function getClientFor($connectionID)
203 203
     {
204
-        if (! $connection = $this->getConnectionById($connectionID)) {
204
+        if (!$connection = $this->getConnectionById($connectionID)) {
205 205
             throw new InvalidArgumentException(
206 206
                 "Invalid connection ID: $connectionID."
207 207
             );
Please login to merge, or discard this patch.