@@ -85,7 +85,7 @@ |
||
| 85 | 85 | */ |
| 86 | 86 | private function getTagTokens($cacheTags) |
| 87 | 87 | { |
| 88 | - return array_map(function ($tag) { |
|
| 88 | + return array_map(function($tag) { |
|
| 89 | 89 | return $this->_cacheTag->getTagToken($tag); |
| 90 | 90 | }, $cacheTags); |
| 91 | 91 | } |
@@ -11,8 +11,8 @@ discard block |
||
| 11 | 11 | */ |
| 12 | 12 | public function normalizeCacheLifeTime($widget) |
| 13 | 13 | { |
| 14 | - if (! property_exists($widget, 'cacheLifeTime')) { |
|
| 15 | - $widget->cacheLifeTime = (int) (config('widgetize.default_cache_lifetime', 0)); |
|
| 14 | + if (!property_exists($widget, 'cacheLifeTime')) { |
|
| 15 | + $widget->cacheLifeTime = (int)(config('widgetize.default_cache_lifetime', 0)); |
|
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | if ($widget->cacheLifeTime === 'forever' || $widget->cacheLifeTime < 0) { |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | */ |
| 29 | 29 | public function normalizeCacheTags($widget) |
| 30 | 30 | { |
| 31 | - if (! property_exists($widget, 'cacheTags')) { |
|
| 31 | + if (!property_exists($widget, 'cacheTags')) { |
|
| 32 | 32 | return $widget->cacheTags = []; |
| 33 | 33 | } |
| 34 | 34 | |