This commit is contained in:
2021-08-13 17:07:39 +08:00
parent 36f0e45e7e
commit d30c36264e
+1 -1
View File
@@ -75,7 +75,7 @@ abstract class BaseApplication extends Component
$this->parseEvents($config); $this->parseEvents($config);
$this->initErrorHandler(); $this->initErrorHandler();
$this->enableEnvConfig(); $this->enableEnvConfig();
$this->mapping($config['mapping']); $this->mapping($config['mapping'] ?? []);
parent::__construct(); parent::__construct();
} }