Completed
Pull Request — master (#8)
by
unknown
01:43
created
Classes/RedisLockStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
             $this->blTo = (int) $config['blTo'];
117 117
         }
118 118
 
119
-        $this->redis   = new \Redis();
119
+        $this->redis = new \Redis();
120 120
         $this->redis->connect($config['host'], $port);
121 121
 
122 122
         if (\array_key_exists('auth', $config)) {
Please login to merge, or discard this patch.
Tests/test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
                 }
178 178
             } else {
179 179
 
180
-                if(!$this->wait($this->blTo)) {
180
+                if (!$this->wait($this->blTo)) {
181 181
                     //throw new LockAcquireException('could not acquire lock');
182 182
                     throw new \Exception('could not acquire lock');
183 183
                 }
Please login to merge, or discard this patch.