Completed
Branch master (1afc22)
by Dan
09:51 queued 07:56
created
Src/Cache/Storage/ApcStorage.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -28,16 +28,16 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
Tests/Cache/Storage/FileStorageTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
Src/Cache/Storage/FileStorage.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -99,10 +99,10 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.