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

Fix #5257 - allow object::foo() call

This commit is contained in:
Matt Brown 2021-02-23 17:31:14 -05:00
parent ae23360ed0
commit 78577fd624

View File

@ -865,6 +865,7 @@ class AtomicStaticCallAnalyzer
if ($lhs_type_part instanceof Type\Atomic\TMixed
|| $lhs_type_part instanceof Type\Atomic\TTemplateParam
|| $lhs_type_part instanceof Type\Atomic\TClassString
|| $lhs_type_part instanceof Type\Atomic\TObject
) {
if ($stmt->name instanceof PhpParser\Node\Identifier) {
$codebase->analyzer->addMixedMemberName(