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:
parent
137650fe6f
commit
a212375343
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user