@@ -60,7 +60,7 @@ |
||
60 | 60 | private function generateHtml(...$args) |
61 | 61 | { |
62 | 62 | // Everything inside this function is executed only when the cache is not available. |
63 | - $expensivePhpCode = function () use ($args) { |
|
63 | + $expensivePhpCode = function() use ($args) { |
|
64 | 64 | $this->prepareDataForView($args); |
65 | 65 | // render the template with the resulting data. |
66 | 66 | return $this->renderTemplate(); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | function cacheResult($args, $phpCode, $widget) |
20 | 20 | { |
21 | - $key = $this->makeCacheKey($args,$widget); |
|
21 | + $key = $this->makeCacheKey($args, $widget); |
|
22 | 22 | |
23 | 23 | $cache = app('cache'); |
24 | 24 |