Improved theme package code style
This commit is contained in:
parent
0740527b54
commit
062bd52174
|
|
@ -81,8 +81,7 @@ class ViewRenderEventManager
|
|||
foreach ($this->templates as $template) {
|
||||
if (view()->exists($template)) {
|
||||
$string .= view($template , $this->params)->render();
|
||||
}
|
||||
elseif (is_string($template)) {
|
||||
} else if (is_string($template)) {
|
||||
$string .= $template;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue