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