Passed
Pull Request — master (#23)
by Leonardo
02:06
created
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.
src/Adapters/RedisClusterAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
         $this->resetKeyIfInfiniteTTL($serviceName);
17 17
 
18
-        if (! $this->redis->get($serviceName)) {
18
+        if (!$this->redis->get($serviceName)) {
19 19
             $this->redis->incr($serviceName);
20 20
             return (bool) $this->redis->expire($serviceName, $timeWindow);
21 21
         }
Please login to merge, or discard this patch.