@@ -27,7 +27,7 @@ |
||
27 | 27 | * @param $key |
28 | 28 | * @param $minutes |
29 | 29 | * @param $tags |
30 | - * @param callable $callback |
|
30 | + * @param Closure $callback |
|
31 | 31 | * |
32 | 32 | * @return mixed |
33 | 33 | */ |
@@ -35,7 +35,7 @@ |
||
35 | 35 | { |
36 | 36 | $cache = $this->app->make('cache'); |
37 | 37 | |
38 | - if(method_exists($cache->getStore(), 'tags')) { |
|
38 | + if (method_exists($cache->getStore(), 'tags')) { |
|
39 | 39 | $cache = $cache->tags($tags); |
40 | 40 | } |
41 | 41 |
@@ -68,7 +68,7 @@ |
||
68 | 68 | { |
69 | 69 | if ($cacheTime = (float) $this->getCacheTime()) { |
70 | 70 | |
71 | - return $this->app->cache($this->widget->cacheKey($args), $cacheTime, $this->widget->cacheTags(), function () { |
|
71 | + return $this->app->cache($this->widget->cacheKey($args), $cacheTime, $this->widget->cacheTags(), function() { |
|
72 | 72 | return $this->getContent(); |
73 | 73 | }); |
74 | 74 | } |