@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | private function _generateHtml($widget, ...$args) |
52 | 52 | { |
53 | 53 | // Everything inside this function is executed only when the cache is not available. |
54 | - $expensivePhpCode = function () use ($widget, $args) { |
|
54 | + $expensivePhpCode = function() use ($widget, $args) { |
|
55 | 55 | $this->makeDataForView($widget, $args); |
56 | 56 | // render the template with the resulting data. |
57 | 57 | return $this->renderTemplate($widget); |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | return app($widget); |
119 | 119 | } |
120 | 120 | |
121 | - $widget = app()->getNamespace().'Widgets\\'.$widget; |
|
121 | + $widget = app()->getNamespace() . 'Widgets\\' . $widget; |
|
122 | 122 | return app($widget); |
123 | 123 | } |
124 | 124 | } |