Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
orklah committed Feb 12, 2022
1 parent 6697d37 commit 1386e8b
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -10,7 +10,6 @@
use Psalm\Internal\Algebra;
use Psalm\Internal\Algebra\FormulaGenerator;
use Psalm\Internal\Analyzer\AlgebraAnalyzer;
use Psalm\Internal\Analyzer\ScopeAnalyzer;
use Psalm\Internal\Analyzer\Statements\Block\IfConditionalAnalyzer;
use Psalm\Internal\Analyzer\Statements\ExpressionAnalyzer;
use Psalm\Internal\Analyzer\StatementsAnalyzer;
Expand Down Expand Up @@ -345,10 +344,6 @@ function (Clause $c) use ($mixed_var_ids, $cond_object_id): Clause {
$statements_analyzer->node_data->setType($stmt, Type::getMixed());
}

if (!in_array(ScopeAnalyzer::ACTION_NONE, $if_scope->final_actions, true)) {
$context->has_returned = true;
}

return true;
}
}

0 comments on commit 1386e8b

Please sign in to comment.