change alignment of code
This commit is contained in:
parent
e329eb1c97
commit
781ed6e15e
|
|
@ -56,14 +56,11 @@ class ViewRenderEventManager
|
|||
{
|
||||
$string = "";
|
||||
|
||||
foreach($this->templates as $template)
|
||||
{
|
||||
if(view()->exists($template))
|
||||
{
|
||||
foreach ($this->templates as $template) {
|
||||
if (view()->exists($template)) {
|
||||
$string .= view($template , $this->params)->render();
|
||||
}
|
||||
elseif(is_string($template))
|
||||
{
|
||||
elseif (is_string($template)) {
|
||||
$string .= $template;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue