@@ -16,9 +16,9 @@ |
||
16 | 16 | public function run(\Closure $closure, array $parameters = []) |
17 | 17 | { |
18 | 18 | // construct cachekey |
19 | - $cachekey = $this->baseKey.':'.md5(implode('',$parameters)); |
|
19 | + $cachekey = $this->baseKey.':'.md5(implode('', $parameters)); |
|
20 | 20 | |
21 | - if(isset(static::$cache[$cachekey])){ |
|
21 | + if (isset(static::$cache[$cachekey])) { |
|
22 | 22 | return static::$cache[$cachekey]; |
23 | 23 | } |
24 | 24 |
@@ -56,8 +56,8 @@ |
||
56 | 56 | { |
57 | 57 | $this->constructWithSnippets(); |
58 | 58 | |
59 | - if(!isset($this->baseViewPath)) { |
|
60 | - $this->baseViewPath = config('thinktomorrow.chief.base-view-paths.modules','modules'); |
|
59 | + if (!isset($this->baseViewPath)) { |
|
60 | + $this->baseViewPath = config('thinktomorrow.chief.base-view-paths.modules', 'modules'); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | parent::__construct($attributes); |