@@ -29,7 +29,7 @@ discard block |
||
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 |
||
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); |
@@ -15,7 +15,7 @@ |
||
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 | } |