删减无用代码

This commit is contained in:
2022-11-16 16:25:33 +08:00
parent 3403ed76d7
commit 90a5822a08
2 changed files with 1 additions and 29 deletions

View File

@@ -229,7 +229,7 @@ class Dist extends Command
}
if ($namsepace_count !== 1) {
throw new \Exception('一个文件至少有一个命名空间:' . $name);
throw new \Exception('一个文件只能有一个命名空间:' . $name);
}
if ($class_count !== 1) {
throw new \Exception('一个文件只能有一个类:' . $name);