This commit is contained in:
as2252258@163.com
2021-04-04 03:01:12 +08:00
parent 59a8974672
commit c7e059f104
14 changed files with 1230 additions and 1230 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class Config extends Component
* @return mixed
* @throws
*/
public static function get($key, $try = FALSE, $default = null): mixed
public static function get($key, $default = null, $try = FALSE): mixed
{
$instance = Snowflake::app()->getConfig()->getData();
if (!str_contains($key, '.')) {