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