1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Potential fix for #1156

This commit is contained in:
Matthew Brown 2019-01-02 08:03:24 -05:00
parent 901596281c
commit df9ea9e3b6

View File

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