We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4225456 commit 29a4215Copy full SHA for 29a4215
1 file changed
src/App.php
@@ -23,7 +23,7 @@ public static function send_json($payload, $status_code = 200)
23
return exit(json_encode((object) $payload));
24
}
25
26
- public static function send_template($template, $data = [])
+ public static function send_template($template, $data = array())
27
{
28
$filename = strpos($template, '.php') == false ? $template . '.php' : $template;
29
extract($data);
0 commit comments