| @@ -28,16 +28,16 @@ | ||
| 28 | 28 | * @param DateInterval $ttl | 
| 29 | 29 | * @throws CacheException | 
| 30 | 30 | */ | 
| 31 | - public function __construct(DateInterval $ttl) | |
| 32 | -   { | |
| 33 | -       $foundApc = \extension_loaded('apc'); | |
| 31 | + public function __construct(DateInterval $ttl) | |
| 32 | +    { | |
| 33 | +        $foundApc = \extension_loaded('apc'); | |
| 34 | 34 | |
| 35 | -       if (!$foundApc){ | |
| 36 | -           throw new CacheException('APC Extension not found.'); | |
| 37 | - } | |
| 35 | +        if (!$foundApc){ | |
| 36 | +            throw new CacheException('APC Extension not found.'); | |
| 37 | + } | |
| 38 | 38 | |
| 39 | - parent::__construct($ttl); | |
| 40 | - } | |
| 39 | + parent::__construct($ttl); | |
| 40 | + } | |
| 41 | 41 | |
| 42 | 42 | /** | 
| 43 | 43 | * Determines whether an item is present in the cache. | 
| @@ -86,7 +86,7 @@ | ||
| 86 | 86 | * Test that clear is called. | 
| 87 | 87 | */ | 
| 88 | 88 |      public function testClear(){ | 
| 89 | - $this->assertEquals($this->cacheStorage->clear(), true); | |
| 89 | + $this->assertEquals($this->cacheStorage->clear(), true); | |
| 90 | 90 | } | 
| 91 | 91 | |
| 92 | 92 | /** | 
| @@ -99,10 +99,10 @@ | ||
| 99 | 99 | * @return bool | 
| 100 | 100 | */ | 
| 101 | 101 |      public function has($key){ | 
| 102 | -       if ($this->_fetchCacheFile($key)){ | |
| 103 | - return true; | |
| 104 | - } | |
| 105 | - return false; | |
| 102 | +        if ($this->_fetchCacheFile($key)){ | |
| 103 | + return true; | |
| 104 | + } | |
| 105 | + return false; | |
| 106 | 106 | } | 
| 107 | 107 | |
| 108 | 108 | /** | 
| @@ -2,7 +2,6 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace Tests\Cache; | 
| 4 | 4 | |
| 5 | -use Ds\Cache\CacheStorageInterface; | |
| 6 | 5 | use Ds\Cache\Storage\MemcacheStorage; | 
| 7 | 6 | |
| 8 | 7 | |