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

Fix possibly bad property fetch

This commit is contained in:
Matthew Brown 2020-01-06 09:21:42 -05:00
parent 137650fe6f
commit a212375343

View File

@ -1887,7 +1887,8 @@ class TypeAnalyzer
if ($input_type_part->value !== $container_type_part->value
&& $input_class_storage
&& !$container_type_part->remapped_params
&& (!$container_type_part instanceof TGenericObject
|| !$container_type_part->remapped_params)
) {
$input_template_types = $input_class_storage->template_types;
$i = 0;