@@ -240,7 +240,7 @@ |
||
| 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 | } |
@@ -194,7 +194,7 @@ |
||
| 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 | } |