change alignment of code

This commit is contained in:
Karim Qaderi 2019-08-13 10:08:07 +04:30 committed by GitHub
parent e329eb1c97
commit 781ed6e15e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -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;
}
}