This commit is contained in:
xl
2023-05-26 11:16:45 +08:00
parent 37bbb14fdb
commit 5b27d5c07e
4 changed files with 14 additions and 71 deletions
+2 -2
View File
@@ -931,9 +931,9 @@ if (!function_exists('config')) {
/**
* @param $key
* @param null $default
* @return array|string|int|float|bool|null
* @return mixed
*/
function config($key, $default = NULL): null|array|string|int|float|bool
function config($key, $default = NULL): mixed
{
return make(ConfigProvider::class)->get($key, $default);
}