mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Fix casing of duplicate interface method check
This commit is contained in:
parent
1320b6dd54
commit
b333e90fee
@ -820,8 +820,8 @@ class ClassChecker extends ClassLikeChecker
|
||||
$self_class
|
||||
);
|
||||
|
||||
if (!$return_type && $class_storage->interface_method_ids) {
|
||||
foreach ($class_storage->interface_method_ids[$stmt->name] as $interface_method_id) {
|
||||
if (!$return_type && isset($class_storage->interface_method_ids[strtolower($stmt->name)])) {
|
||||
foreach ($class_storage->interface_method_ids[strtolower($stmt->name)] as $interface_method_id) {
|
||||
list($interface_class) = explode('::', $interface_method_id);
|
||||
|
||||
$interface_return_type = MethodChecker::getMethodReturnType(
|
||||
|
Loading…
Reference in New Issue
Block a user