@@ -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 | } |
@@ -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); |