Skip to content

Commit 29a4215

Browse files
authored
Update App.php
Fix backwards compatibility
1 parent 4225456 commit 29a4215

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static function send_json($payload, $status_code = 200)
2323
return exit(json_encode((object) $payload));
2424
}
2525

26-
public static function send_template($template, $data = [])
26+
public static function send_template($template, $data = array())
2727
{
2828
$filename = strpos($template, '.php') == false ? $template . '.php' : $template;
2929
extract($data);

0 commit comments

Comments
 (0)