@@ -23,10 +23,10 @@ |
||
23 | 23 | if (!is_object($driverInstance)) { |
24 | 24 | echo '[FAIL] CacheManager::getInstance() returned an invalid variable type:' . gettype($driverInstance) . "\n"; |
25 | 25 | $status = 1; |
26 | -}else if(!($driverInstance instanceof CacheItemPoolInterface)){ |
|
26 | +} else if(!($driverInstance instanceof CacheItemPoolInterface)){ |
|
27 | 27 | echo '[FAIL] CacheManager::getInstance() returned an invalid class:' . get_class($driverInstance) . "\n"; |
28 | 28 | $status = 1; |
29 | -}else{ |
|
29 | +} else{ |
|
30 | 30 | echo '[PASS] CacheManager::getInstance() returned a valid CacheItemPoolInterface object: ' . get_class($driverInstance) . "\n"; |
31 | 31 | } |
32 | 32 |
@@ -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 |