Passed
Pull Request — master (#23)
by Leonardo
01:49
created
src/Adapters/RedisClusterAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             $this->redis->del($serviceName);
18 18
         }
19 19
 
20
-        if (! $this->redis->get($serviceName)) {
20
+        if (!$this->redis->get($serviceName)) {
21 21
             $this->redis->incr($serviceName);
22 22
             return (bool) $this->redis->expire($serviceName, $timeWindow);
23 23
         }
Please login to merge, or discard this patch.
src/Adapters/RedisAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     protected function checkExtensionLoaded()
31 31
     {
32
-        if (! extension_loaded('redis')) {
32
+        if (!extension_loaded('redis')) {
33 33
             throw new \RuntimeException('Extension redis is required to use RedisAdapter.');
34 34
         }
35 35
     }
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
         $this->resetKeyIfInfiniteTTL($serviceName);
83 83
 
84
-        if (! $this->redis->get($serviceName)) {
84
+        if (!$this->redis->get($serviceName)) {
85 85
             $this->redis->multi();
86 86
             $this->redis->incr($serviceName);
87 87
             $this->redis->expire($serviceName, $timeWindow);
Please login to merge, or discard this patch.