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

Remove erroneous array index

This commit is contained in:
Matthew Brown 2016-12-30 20:19:40 -05:00
parent 77dacf23e6
commit e972f4106c

View File

@ -975,7 +975,7 @@ abstract class ClassLikeChecker extends SourceChecker implements StatementsSourc
$parent_storage = self::$storage[$parent_class_name];
$storage->public_class_properties = $parent_storage->public_class_properties;
$storage->protected_class_properties[$class_name] = $parent_storage->protected_class_properties;
$storage->protected_class_properties = $parent_storage->protected_class_properties;
$storage->public_static_class_properties = $parent_storage->public_static_class_properties;
$storage->protected_static_class_properties = $parent_storage->protected_static_class_properties;