Skip to content

Commit

Permalink
Update Response.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Jobians authored Aug 31, 2023
1 parent d5cb457 commit 13a4ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected function getConfig($name)
return Router::getConfig($name);
}

public function render($template, $data)
public function render($template, $data=[])
{
if ($this->getConfig('view_engine') === null) {
trigger_error("View engine is not specified.", E_USER_WARNING);
Expand Down

0 comments on commit 13a4ee5

Please sign in to comment.