Completed
Push — master ( 702f01...201e05 )
by Alexander
02:03
created
src/ComponentHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
             return $this->executeWithoutCache();
241 241
         }
242 242
 
243
-        return $this->output = cache($this->ttl, $this->getCacheKey(), '/components', 'cache', function () {
243
+        return $this->output = cache($this->ttl, $this->getCacheKey(), '/components', 'cache', function() {
244 244
             return $this->executeWithoutCache();
245 245
         });
246 246
     }
Please login to merge, or discard this patch.
src/functions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
 function setCacheData(int $minutes, string $key, $initDir = '/', string $baseDir = 'cache', $data)
172 172
 {
173 173
     cleanCache($key, $initDir, $baseDir);
174
-    cache($minutes, $key, $initDir, $baseDir, function () use ($data) {
174
+    cache($minutes, $key, $initDir, $baseDir, function() use ($data) {
175 175
         return $data;
176 176
     });
177 177
 }
Please login to merge, or discard this patch.