This commit is contained in:
2021-08-03 18:18:09 +08:00
parent 324db2fa3f
commit 5b28c52a10
43 changed files with 755 additions and 653 deletions
+2 -4
View File
@@ -538,14 +538,12 @@ if (!function_exists('event')) {
/**
* @param $name
* @param $callback
* @param array $params
* @param bool $isAppend
* @throws Exception
* @throws Exception
*/
function event($name, $callback, array $params = [], bool $isAppend = true)
function event($name, $callback, bool $isAppend = true)
{
Event::on($name, $callback, $params, $isAppend);
Event::on($name, $callback, $isAppend);
}
}