mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Fix unnecessary array merge
This operation is already performed on line 420
This commit is contained in:
parent
8a5290354e
commit
ab2b77d9f5
@ -491,8 +491,6 @@ class IfElseAnalyzer
|
||||
}
|
||||
}
|
||||
|
||||
$context->possibly_assigned_var_ids += $if_scope->possibly_assigned_var_ids;
|
||||
|
||||
if (!in_array(ScopeAnalyzer::ACTION_NONE, $if_scope->final_actions, true)) {
|
||||
$context->has_returned = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user