1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix redundant thing

This commit is contained in:
Matt Brown 2020-11-08 10:18:32 -05:00 committed by Daniil Gentili
parent fb5e30850a
commit 6095800fc5
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -35,7 +35,7 @@ class EchoAnalyzer
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