parts as $part) { if (ExpressionAnalyzer::analyze($statements_analyzer, $part, $context) === false) { return false; } if ($statements_analyzer->node_data->getType($part)) { CastAnalyzer::castStringAttempt($statements_analyzer, $context, $part); } } $statements_analyzer->node_data->setType($stmt, Type::getString()); return true; } }