Skip to content
Permalink
Browse files

Fix possibly bad property fetch

  • Loading branch information
muglug committed Jan 6, 2020
1 parent 137650f commit a212375343e6841f4e871517b48acbffe0991758
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/Psalm/Internal/Analyzer/TypeAnalyzer.php
@@ -1887,7 +1887,8 @@ private static function isMatchingTypeContainedBy(

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;

0 comments on commit a212375

Please sign in to comment.
You can’t perform that action at this time.