Skip to content

Commit

Permalink
fix(ClassMap): 类重复时,记录类名错误
Browse files Browse the repository at this point in the history
  • Loading branch information
twinh committed Dec 23, 2023
1 parent 7e15921 commit 4e5c3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ClassMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 4e5c3a7

Please sign in to comment.