mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix aliasing
This commit is contained in:
parent
3feccc1f98
commit
d0d0c019cd
@ -764,7 +764,7 @@ class Scanner
|
|||||||
$new_fq_class_name_lc = strtolower($new_fq_class_name);
|
$new_fq_class_name_lc = strtolower($new_fq_class_name);
|
||||||
|
|
||||||
if ($new_fq_class_name_lc !== $fq_class_name_lc) {
|
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;
|
$fq_class_name_lc = $new_fq_class_name_lc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user