@@ -95,7 +95,7 @@ |
||
| 95 | 95 | |
| 96 | 96 | // Keys have lifetime, use SETEX for each of them |
| 97 | 97 | foreach ($keysAndValues as $key => $value) { |
| 98 | - if (!$this->redis->setex($key, $lifetime, $value)) { |
|
| 98 | + if ( ! $this->redis->setex($key, $lifetime, $value)) { |
|
| 99 | 99 | $success = false; |
| 100 | 100 | } |
| 101 | 101 | } |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | */ |
| 183 | 183 | private function getNamespacedId($id) |
| 184 | 184 | { |
| 185 | - $namespaceVersion = $this->getNamespaceVersion(); |
|
| 185 | + $namespaceVersion = $this->getNamespaceVersion(); |
|
| 186 | 186 | |
| 187 | 187 | return sprintf('%s[%s][%s]', $this->namespace, $id, $namespaceVersion); |
| 188 | 188 | } |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | $namespaceCacheKey = $this->getNamespaceCacheKey(); |
| 212 | 212 | $this->namespaceVersion = $this->doFetch($namespaceCacheKey); |
| 213 | 213 | |
| 214 | - if (!$this->namespaceVersion) { |
|
| 214 | + if ( ! $this->namespaceVersion) { |
|
| 215 | 215 | $this->namespaceVersion = 1; |
| 216 | 216 | $this->doSave($namespaceCacheKey, 1); |
| 217 | 217 | } |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | $success = true; |
| 271 | 271 | |
| 272 | 272 | foreach ($keysAndValues as $key => $value) { |
| 273 | - if (!$this->doSave($key, $value, $lifetime)) { |
|
| 273 | + if ( ! $this->doSave($key, $value, $lifetime)) { |
|
| 274 | 274 | $success = false; |
| 275 | 275 | } |
| 276 | 276 | } |