From cf3f98d59a4a3ba1cd102b7442f83c5092747df7 Mon Sep 17 00:00:00 2001 From: zyimm Date: Wed, 11 Jan 2023 16:43:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=A4=9A=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command.php b/src/Command.php index 775054b..1d09722 100644 --- a/src/Command.php +++ b/src/Command.php @@ -92,7 +92,7 @@ abstract class Command extends \think\console\Command protected function getConfig($name, $default = null) { $config = Config::pull('migration'); - return isset($config[$name]) ? $config[$name] : $default; + return $config[$name] ?? $default; } protected function verifyMigrationDirectory($path)