Completed
Push — master ( 2d28b1...816057 )
by Iman
04:13
created
src/Utils/WidgetRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
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);
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     private function _makeWidgetObj($widget)
112 112
     {
113
-        $widget = app()->getNamespace().'Widgets\\'.$widget;
113
+        $widget = app()->getNamespace() . 'Widgets\\' . $widget;
114 114
         return app($widget);
115 115
     }
116 116
 }
Please login to merge, or discard this patch.