@@ -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 | } |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | $this->redis->del($serviceName); |
84 | 84 | } |
85 | 85 | |
86 | - if (! $this->redis->get($serviceName)) { |
|
86 | + if (!$this->redis->get($serviceName)) { |
|
87 | 87 | $this->redis->multi(); |
88 | 88 | $this->redis->incr($serviceName); |
89 | 89 | $this->redis->expire($serviceName, $timeWindow); |
@@ -17,7 +17,7 @@ |
||
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 | } |