From 509f7eb89ca017b46502ec93eb128ac06f5e74c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 29 Sep 2021 10:27:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kiri-gii/GiiCommand.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kiri-gii/GiiCommand.php b/kiri-gii/GiiCommand.php index a3e0d0cf..ea3ad739 100644 --- a/kiri-gii/GiiCommand.php +++ b/kiri-gii/GiiCommand.php @@ -43,8 +43,8 @@ class GiiCommand extends Command * @param InputInterface $input * @param OutputInterface $output * @return array - * @throws ComponentException * @throws ConfigException + * @throws Exception */ public function execute(InputInterface $input, OutputInterface $output): array { @@ -52,9 +52,9 @@ class GiiCommand extends Command $gii = Kiri::app()->get('gii'); $connections = Kiri::app()->get('db'); - if ($input->getArgument('databases')) { - return $gii->run($connections->get($input->getArgument('databases')), $input); - } +// if ($input->getArgument('databases')) { +// return $gii->run($connections->get($input->getArgument('databases')), $input); +// } $array = []; foreach (Config::get('databases') as $key => $connection) {