Skip to content

Commit

Permalink
Change details in BladeRenderer
Browse files Browse the repository at this point in the history
  • Loading branch information
rougin committed Mar 21, 2024
1 parent 51ed2ee commit b94f62f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Renderers/BladeRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Rougin\Slytherin\Template\RendererInterface;

/**
* Illuminate's View (Blade) Renderer
* Laravel Blade Renderer
*
* A simple wrapper of Laravel Blade to Slytherin's RendererInterface.
*
Expand Down Expand Up @@ -38,8 +38,6 @@ public function __construct(Factory $factory)
*/
public function render($template, array $data = array(), $merge = array())
{
$view = $this->factory->make($template, $data, $merge);

return $view->render();
return $this->factory->make($template, $data, $merge)->render();
}
}

0 comments on commit b94f62f

Please sign in to comment.