1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Fix aliasing

This commit is contained in:
Matthew Brown 2020-02-14 22:39:07 -05:00
parent 3feccc1f98
commit d0d0c019cd

View File

@ -764,7 +764,7 @@ class Scanner
$new_fq_class_name_lc = strtolower($new_fq_class_name);
if ($new_fq_class_name_lc !== $fq_class_name_lc) {
$classlikes->addClassAlias($new_fq_class_name_lc, $fq_class_name_lc);
$classlikes->addClassAlias($new_fq_class_name, $fq_class_name_lc);
$fq_class_name_lc = $new_fq_class_name_lc;
}