Passed
Pull Request — master (#107)
by
unknown
13:21
created
Redis/Predis.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
         ];
160 160
 
161 161
         try {
162
-            $this->predis->transaction($options, function (MultiExec $tx) use ($key, &$element) {
162
+            $this->predis->transaction($options, function(MultiExec $tx) use ($key, &$element) {
163 163
                 $zRange = $tx->zrange($key, 0, 0);
164 164
                 $element = isset($zRange[0]) ? $zRange[0] : null;
165 165
 
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
         ];
186 186
 
187 187
         try {
188
-            $this->predis->transaction($options, function (MultiExec $tx) use ($key, $max, &$element) {
188
+            $this->predis->transaction($options, function(MultiExec $tx) use ($key, $max, &$element) {
189 189
                 $zRangeByScore = $tx->zrangebyscore($key, 0, $max, ['LIMIT' => [0, 1]]);
190 190
                 $element = isset($zRangeByScore[0]) ? $zRangeByScore[0] : null;
191 191
 
Please login to merge, or discard this patch.