@@ -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 | } |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | { |
89 | 89 | $item = $this->findById($id) |
90 | 90 | |
91 | - if (!$item) { |
|
91 | + if ( ! $item) { |
|
92 | 92 | return false; |
93 | 93 | } |
94 | 94 | |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | { |
168 | 168 | list($idField) = $fields = $this->getFields(); |
169 | 169 | |
170 | - if (!$includeData) { |
|
170 | + if ( ! $includeData) { |
|
171 | 171 | $key = array_search(static::DATA_FIELD, $fields); |
172 | 172 | unset($fields[$key]); |
173 | 173 | } |