Completed
Push — master ( b724d6...e051f1 )
by Iman
02:12
created
src/Utils/DebugInfo.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         $tpl = str_replace('.', '\\', $tpl);
37 37
 
38 38
         $this->html =
39
-            "<div title='WidgetObj : ".get_class($this->widget).".php&#013;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&#013;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
 block discarded – undo
45 45
      */
46 46
     private function cacheState()
47 47
     {
48
-        if (! $this->policies->widgetShouldUseCache()) {
48
+        if (!$this->policies->widgetShouldUseCache()) {
49 49
             return ' &#013;Cache: is globally turned off (You should put "WIDGET_CACHE=true" in .env) ';
50 50
         }
51 51
 
@@ -54,6 +54,6 @@  discard block
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/WidgetGenerator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     }
99 99
 
100 100
     /**
101
-     * @return mixed|string
101
+     * @return string
102 102
      */
103 103
     private function _getViewPath()
104 104
     {
Please login to merge, or discard this patch.