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

Correct casing

This commit is contained in:
Matthew Brown 2017-07-09 15:27:07 -04:00
parent 39a27f41b3
commit 90f3b88544

View File

@ -911,7 +911,7 @@ class ProjectChecker
$appearing_method_id = (string)MethodChecker::getAppearingMethodId($original_method_id);
list($appearing_fq_class_name) = explode('::', $appearing_method_id);
$appearing_class_storage = ClassLikeChecker::$storage[$appearing_fq_class_name];
$appearing_class_storage = ClassLikeChecker::$storage[strtolower($appearing_fq_class_name)];
if (!$appearing_class_storage->user_defined) {
return;