fix styles

This commit is contained in:
sunxyw
2022-09-09 18:59:46 +08:00
parent 8f7fd97ebe
commit 9d77d60887
10 changed files with 30 additions and 31 deletions

View File

@@ -102,7 +102,7 @@ class ZMConfig
foreach ($this->config_paths as $config_path) {
$files = scandir($config_path);
foreach ($files as $file) {
[, $ext, $load_type,] = $this->getFileMeta($file);
[, $ext, $load_type] = $this->getFileMeta($file);
// 略过不支持的文件
if (!in_array($ext, self::ALLOWED_FILE_EXTENSIONS, true)) {
continue;