@@ -30,12 +30,12 @@ discard block |
||
30 | 30 | { |
31 | 31 | $tpl = $this->widget->template; |
32 | 32 | if (str_contains($tpl, 'Widgets::')) { |
33 | - $tpl = str_replace('Widgets::', app()->getNamespace().'Widgets\\', $tpl); |
|
33 | + $tpl = str_replace('Widgets::', app()->getNamespace() . 'Widgets\\', $tpl); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | $tpl = str_replace('.', '\\', $tpl); |
37 | 37 | |
38 | - $this->html = "<span title='WidgetObj : ".get_class($this->widget).".php
Template : {$tpl}.blade.php{$this->cacheState()}'>{$this->html}</span>"; |
|
38 | + $this->html = "<span title='WidgetObj : " . get_class($this->widget) . ".php
Template : {$tpl}.blade.php{$this->cacheState()}'>{$this->html}</span>"; |
|
39 | 39 | } |
40 | 40 | |
41 | 41 | /** |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | */ |
45 | 45 | private function cacheState() |
46 | 46 | { |
47 | - if (! $this->policies->widgetShouldUseCache()) { |
|
47 | + if (!$this->policies->widgetShouldUseCache()) { |
|
48 | 48 | return ' 
Cache: is globally turned off (You should put "WIDGET_CACHE=true" in .env) '; |
49 | 49 | } |
50 | 50 | |
@@ -53,6 +53,6 @@ discard block |
||
53 | 53 | |
54 | 54 | private function addHtmlComments() |
55 | 55 | { |
56 | - $this->html = "<!-- '{".get_class($this->widget)."' Widget Start -->".$this->html."<!-- '".get_class($this->widget)."' Widget End -->"; |
|
56 | + $this->html = "<!-- '{" . get_class($this->widget) . "' Widget Start -->" . $this->html . "<!-- '" . get_class($this->widget) . "' Widget End -->"; |
|
57 | 57 | } |
58 | 58 | } |