mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
Fix Psalm errors
This commit is contained in:
parent
b94de0c8b8
commit
fb456d2e85
@ -268,13 +268,14 @@ class AtomicMethodCallAnalyzer extends CallAnalyzer
|
||||
$stmt->args,
|
||||
$stmt->getAttributes()
|
||||
);
|
||||
$ret_value = FunctionCallAnalyzer::analyze(
|
||||
|
||||
FunctionCallAnalyzer::analyze(
|
||||
$statements_analyzer,
|
||||
$fake_function_call,
|
||||
$context
|
||||
);
|
||||
|
||||
$function_return = $statements_analyzer->node_data->getType($fake_function_call);
|
||||
$function_return = $statements_analyzer->node_data->getType($fake_function_call) ?: Type::getMixed();
|
||||
$statements_analyzer->node_data = $old_node_data;
|
||||
|
||||
if (!$result->return_type) {
|
||||
|
Loading…
Reference in New Issue
Block a user