From 4e5c3a794e7d45e1af32c92030abc0e03267ca63 Mon Sep 17 00:00:00 2001 From: twinh Date: Tue, 19 Dec 2023 21:41:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(ClassMap):=20=E7=B1=BB=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E8=AE=B0=E5=BD=95=E7=B1=BB=E5=90=8D=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/ClassMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ClassMap.php b/lib/ClassMap.php index b094d7432..ca7b26a20 100644 --- a/lib/ClassMap.php +++ b/lib/ClassMap.php @@ -189,7 +189,7 @@ protected function filterDuplicates(array $map, $mapName) $map[$name] = key($classes); unset($this->duplicates[$name]); } else { - $this->duplicates = $classes; + $this->duplicates[$name] = $classes; } }