@@ -156,12 +156,10 @@ |
||
| 156 | 156 | $time = new DateTime('now'); |
| 157 | 157 | |
| 158 | 158 | if ( !array_key_exists($namespace, $this->data) |
| 159 | - || !array_key_exists($key, $this->data[$namespace]) ) |
|
| 160 | - { |
|
| 159 | + || !array_key_exists($key, $this->data[$namespace]) ) { |
|
| 161 | 160 | return false; |
| 162 | 161 | } else if ( $this->data[$namespace][$key]['expire'] === 0 |
| 163 | - || $this->data[$namespace][$key]['expire'] > $time ) |
|
| 164 | - { |
|
| 162 | + || $this->data[$namespace][$key]['expire'] > $time ) { |
|
| 165 | 163 | return true; |
| 166 | 164 | } else { |
| 167 | 165 | unset($this->data[$namespace][$key]); |