1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Add additional fix for #2784

This commit is contained in:
Matthew Brown 2020-02-27 08:56:39 -05:00
parent ea0a670230
commit eeb2858b30

View File

@ -253,6 +253,10 @@ class StaticCallAnalyzer extends \Psalm\Internal\Analyzer\Statements\Expression\
}
}
}
if ($fq_class_name === 'object') {
continue;
}
} elseif ($lhs_type_part instanceof Type\Atomic\TLiteralClassString) {
$fq_class_name = $lhs_type_part->value;