Skip to content

Commit

Permalink
Fix redundant thing
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Nov 8, 2020
1 parent dccf236 commit b635353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Internal/Analyzer/Statements/EchoAnalyzer.php
Expand Up @@ -35,7 +35,7 @@ public static function analyze(
ExpressionAnalyzer::analyze($statements_analyzer, $expr, $context);
$context->inside_call = false;

$expr_type = $statements_analyzer->node_data->getType($expr) ?: Type::getMixed();
$expr_type = $statements_analyzer->node_data->getType($expr);

if ($statements_analyzer->data_flow_graph
&& $expr_type
Expand Down

0 comments on commit b635353

Please sign in to comment.