From 1cf6a7bf8bcc8a629fc80c113b749899db0216c7 Mon Sep 17 00:00:00 2001 From: xl Date: Thu, 25 May 2023 16:59:19 +0800 Subject: [PATCH] qqq --- GiiCommand.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/GiiCommand.php b/GiiCommand.php index 1534799..d145ddd 100644 --- a/GiiCommand.php +++ b/GiiCommand.php @@ -7,7 +7,6 @@ namespace Gii; use Exception; use Kiri; use Kiri\Di\LocalService; -use Kiri\Abstracts\Config; use Kiri\Exception\ConfigException; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; @@ -63,7 +62,7 @@ class GiiCommand extends Command $gii->run(null, $input); } else { $array = []; - foreach (Config::get('databases.connections') as $key => $connection) { + foreach (\config('databases.connections') as $key => $connection) { $array[$key] = $gii->run($this->service->get($key), $input); } $output->writeln(json_encode($array, JSON_UNESCAPED_UNICODE));