Completed
Push — master ( 63373c...d11083 )
by Iman
02:12
created
src/Utils/DebugInfo.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,12 +30,12 @@  discard block
 block discarded – undo
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&#013;Template : {$tpl}.blade.php{$this->cacheState()}'>{$this->html}</span>";
38
+        $this->html = "<span title='WidgetObj : " . get_class($this->widget) . ".php&#013;Template : {$tpl}.blade.php{$this->cacheState()}'>{$this->html}</span>";
39 39
     }
40 40
 
41 41
     /**
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     private function cacheState()
46 46
     {
47
-        if (! $this->policies->widgetShouldUseCache()) {
47
+        if (!$this->policies->widgetShouldUseCache()) {
48 48
             return ' &#013;Cache: is globally turned off (You should put "enable_cache" => true in config\widgetize.php) ';
49 49
         }
50 50
 
@@ -53,6 +53,6 @@  discard block
 block discarded – undo
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
 }
Please login to merge, or discard this patch.