Passed
Push — master ( 201e05...bd13ca )
by Alexander
02:06
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
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
     function setCacheData(int $minutes, string $key, $initDir = '/', string $baseDir = 'cache', $data)
195 195
     {
196 196
         cleanCache($key, $initDir, $baseDir);
197
-        cache($minutes, $key, $initDir, $baseDir, function () use ($data) {
197
+        cache($minutes, $key, $initDir, $baseDir, function() use ($data) {
198 198
             return $data;
199 199
         });
200 200
     }
Please login to merge, or discard this patch.