@@ -167,7 +167,7 @@ |
||
| 167 | 167 | } else { |
| 168 | 168 | return true; |
| 169 | 169 | } |
| 170 | - }catch(SSDBException $e){ |
|
| 170 | + } catch(SSDBException $e){ |
|
| 171 | 171 | throw new phpFastCacheDriverException('Ssdb failed to connect with error: '. $e->getMessage(), 0 , $e); |
| 172 | 172 | } |
| 173 | 173 | } |
@@ -158,8 +158,7 @@ |
||
| 158 | 158 | ->setData(implode(', ', array_keys($this->itemInstances))) |
| 159 | 159 | ->setInfo(sprintf("Xcache v%s with following modules loaded:\n %s", XCACHE_VERSION, str_replace(' ', ', ', XCACHE_MODULES))) |
| 160 | 160 | ->setRawData($info); |
| 161 | - } |
|
| 162 | - else |
|
| 161 | + } else |
|
| 163 | 162 | { |
| 164 | 163 | throw new \RuntimeException("PhpFastCache is not able to read Xcache configuration. Please put this to your php.ini:\n |
| 165 | 164 | [xcache.admin] |
@@ -273,7 +273,7 @@ |
||
| 273 | 273 | |
| 274 | 274 | if (!is_dir($path)) { |
| 275 | 275 | throw new phpFastCacheDriverException("Can't read PATH:" . $path, 94); |
| 276 | - }else{ |
|
| 276 | + } else{ |
|
| 277 | 277 | $size = Directory::dirSize($path); |
| 278 | 278 | } |
| 279 | 279 | |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * getItem() call in delete() method |
| 66 | 66 | */ |
| 67 | 67 | $this->driverDelete($item); |
| 68 | - }else{ |
|
| 68 | + } else{ |
|
| 69 | 69 | $item->setHit(true); |
| 70 | 70 | } |
| 71 | 71 | } |