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:
parent
ae23360ed0
commit
78577fd624
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user