@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | $tpl = str_replace('.', '\\', $tpl); |
| 37 | 37 | |
| 38 | 38 | $this->html = |
| 39 | - "<div title='WidgetObj : ".get_class($this->widget).".php
Template : {$tpl}.blade.php".$this->cacheState()."' style='box-shadow: 0px 0px 15px 5px #00c62b inset'>".$this->html.'</div>'; |
|
| 39 | + "<div title='WidgetObj : " . get_class($this->widget) . ".php
Template : {$tpl}.blade.php" . $this->cacheState() . "' style='box-shadow: 0px 0px 15px 5px #00c62b inset'>" . $this->html . '</div>'; |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | */ |
| 46 | 46 | private function cacheState() |
| 47 | 47 | { |
| 48 | - if (! $this->policies->widgetShouldUseCache()) { |
|
| 48 | + if (!$this->policies->widgetShouldUseCache()) { |
|
| 49 | 49 | return ' 
Cache: is globally turned off (You should put "WIDGET_CACHE=true" in .env) '; |
| 50 | 50 | } |
| 51 | 51 | |
@@ -54,6 +54,6 @@ discard block |
||
| 54 | 54 | |
| 55 | 55 | private function addHtmlComments() |
| 56 | 56 | { |
| 57 | - $this->html = "<!-- '{".get_class($this->widget)."' Widget Start -->".$this->html."<!-- '".get_class($this->widget)."' Widget End -->"; |
|
| 57 | + $this->html = "<!-- '{" . get_class($this->widget) . "' Widget Start -->" . $this->html . "<!-- '" . get_class($this->widget) . "' Widget End -->"; |
|
| 58 | 58 | } |
| 59 | 59 | } |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | - * @return mixed|string |
|
| 101 | + * @return string |
|
| 102 | 102 | */ |
| 103 | 103 | private function _getViewPath() |
| 104 | 104 | { |