Test Failed
Push — master ( d8a4c8...fbe425 )
by Iman
05:55
created
src/Utils/DebugInfo.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
         $tpl = $this->getTplPath($this->widget->template);
42 42
 
43
-        $this->html = "<span title='WidgetObj : ".get_class($this->widget).".php&#013;Template : {$tpl}{$this->cacheState()}'>{$this->html}</span>";
43
+        $this->html = "<span title='WidgetObj : " . get_class($this->widget) . ".php&#013;Template : {$tpl}{$this->cacheState()}'>{$this->html}</span>";
44 44
     }
45 45
 
46 46
     /**
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     private function cacheState(): string
52 52
     {
53
-        if (! $this->policies->widgetShouldUseCache()) {
53
+        if (!$this->policies->widgetShouldUseCache()) {
54 54
             return ' &#013; Cache: is globally turned off (You should put "enable_cache" => true in config\widgetize.php) ';
55 55
         }
56 56
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
     private function addHtmlComments(): void
61 61
     {
62
-        $this->html = "<!-- '{".get_class($this->widget)."' Widget Start -->".$this->html."<!-- '".get_class($this->widget)."' Widget End -->";
62
+        $this->html = "<!-- '{" . get_class($this->widget) . "' Widget Start -->" . $this->html . "<!-- '" . get_class($this->widget) . "' Widget End -->";
63 63
     }
64 64
 
65 65
     /**
@@ -69,9 +69,9 @@  discard block
 block discarded – undo
69 69
     private function getTplPath(string $tpl): string
70 70
     {
71 71
         if (str_contains($tpl, 'Widgets::')) {
72
-            $tpl = str_replace('Widgets::', app()->getNamespace().'Widgets\\', $tpl);
72
+            $tpl = str_replace('Widgets::', app()->getNamespace() . 'Widgets\\', $tpl);
73 73
         }
74 74
 
75
-        return str_replace('.', '\\', $tpl).'.blade.php';
75
+        return str_replace('.', '\\', $tpl) . '.blade.php';
76 76
     }
77 77
 }
Please login to merge, or discard this patch.